me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/gnu
Maxim Cournoyer 11f0698243
pack: Streamline how files are included in tarballs.
Thanks to Guillem Jover <guillem@debian.org> on the OFTC's #debian-dpkg
channel for helping with troubleshooting.

Letting GNU Tar recursively walk the complete files hierarchy side-steps the
risks associated with providing a list of file names:

1. Duplicated files in the archive (recorded as hard links by GNU Tar)
2. Missing parent directories.

The above would cause dpkg to malfunction, for example by aborting early and
skipping triggers when there were missing parent directories.

* guix/scripts/pack.scm (self-contained-tarball/builder): Do not call
POPULATE-SINGLE-PROFILE-DIRECTORY, which creates extraneous files such as
/root.  Instead, call POPULATE-STORE and INSTALL-DATABASE-AND-GC-ROOTS
individually to more precisely generate the file system.  Replace the list of
files by the current directory, "." and streamline the way options are passed.
* gnu/system/file-systems.scm (reduce-directories): Remove procedure.
* tests/file-systems.scm ("reduce-directories"): Remove test.
2021-07-18 02:10:49 -04:00
..
bootloader
build
installer installer: Unconditionally import (gnu services cups) in config.scm. 2021-07-04 13:04:45 +02:00
machine
packages gnu: rsnapshot: Remove modifications to tests. 2021-07-17 22:47:15 +02:00
services services: ntp: Log to file. 2021-07-13 07:25:00 +02:00
system pack: Streamline how files are included in tarballs. 2021-07-18 02:10:49 -04:00
tests installer: tests: Expect but do not select other services by default. 2021-07-04 13:04:45 +02:00
artwork.scm
bootloader.scm
ci.scm ci: Add bootstrap packages to the core subset. 2021-07-09 14:12:15 +02:00
image.scm
installer.scm
local.mk gnu: Add transmission-remote-gtk. 2021-07-16 23:53:46 -04:00
machine.scm
packages.scm
services.scm
system.scm system: Provide mg instead of zile. 2021-07-09 12:08:12 +02:00
tests.scm