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 image: Add rock64 support. 2021-02-21 21:39:38 +01:00
accounts.scm
file-systems.scm pack: Streamline how files are included in tarballs. 2021-07-18 02:10:49 -04:00
hurd.scm system: hurd: Have the static networking provision 'networking. 2021-02-22 20:44:58 +00:00
image.scm image: Rename "raw" image-type to "efi-raw". 2021-01-17 11:04:25 +01:00
install.scm services: shepherd: 'shepherd-service-type' requires documentation. 2021-01-13 22:24:18 +01:00
keyboard.scm
linux-container.scm services: shepherd: 'shepherd-service-type' requires documentation. 2021-01-13 22:24:18 +01:00
linux-initrd.scm gnu: %guile-3.0-static-stripped: Rename to %guile-static-stripped. 2021-07-08 09:39:05 +03:00
locale.scm locale: Remove glibc 2.29 from '%default-locale-libcs'. 2021-05-04 14:19:11 +02:00
mapped-devices.scm services: shepherd: 'shepherd-service-type' requires documentation. 2021-01-13 22:24:18 +01:00
nss.scm
pam.scm
shadow.scm services: Do not warn, when duplicate users are eq?. 2021-01-20 09:04:59 +01:00
uuid.scm
vm.scm vm: Update deprecated QEMU option syntax. 2021-06-25 00:38:41 +02:00