guix/gnu/system
Maxim Cournoyer 4f3bdc8f21
pack: Prevent duplicate files in tar archives.
Tar translate duplicate files in the archive into hard links.  These can cause
problems, as not every tool support them; for example dpkg doesn't.

* gnu/system/file-systems.scm (reduce-directories): New procedure.
(file-prefix?): Lift the restriction on file prefix.  The procedure can be
useful for comparing relative file names.  Adjust doc.
(file-name-depth): New procedure, extracted from ...
(btrfs-store-subvolume-file-name): ... here.
* guix/scripts/pack.scm (self-contained-tarball/builder): Use
reduce-directories.
* tests/file-systems.scm ("reduce-directories"): New test.
2021-06-29 14:53:21 -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: Prevent duplicate files in tar archives. 2021-06-29 14:53:21 -04:00
hurd.scm
image.scm
install.scm
keyboard.scm
linux-container.scm
linux-initrd.scm
locale.scm locale: Remove glibc 2.29 from '%default-locale-libcs'. 2021-05-04 14:19:11 +02:00
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