guix/gnu/system
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
..
examples system: vm-image.tmpl: Add a crutch to allow refreshing the resolution. 2021-05-10 10:18:19 -04:00
images
accounts.scm
file-systems.scm pack: Streamline how files are included in tarballs. 2021-07-18 02:10:49 -04:00
hurd.scm
image.scm
install.scm
keyboard.scm
linux-container.scm
linux-initrd.scm gnu: %guile-3.0-static-stripped: Rename to %guile-static-stripped. 2021-07-08 09:39:05 +03:00
locale.scm
mapped-devices.scm
nss.scm
pam.scm
shadow.scm
uuid.scm
vm.scm vm: Update deprecated QEMU option syntax. 2021-06-25 00:38:41 +02:00