guix/guix/scripts
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
..
container
git
import
system reconfigure: Use 'formatted-message'. 2021-06-25 15:12:05 +02:00
archive.scm
authenticate.scm
build.scm Revert "guix build: Autoload (gnu packages)." 2021-06-29 00:10:54 +02:00
challenge.scm
container.scm
copy.scm
deploy.scm reconfigure: Use 'formatted-message'. 2021-06-25 15:12:05 +02:00
describe.scm
discover.scm
download.scm
edit.scm
environment.scm
gc.scm
git.scm
graph.scm
hash.scm
import.scm
install.scm
lint.scm
offload.scm
pack.scm pack: Streamline how files are included in tarballs. 2021-07-18 02:10:49 -04:00
package.scm package: Improve output appearance when listing packages. 2021-07-15 16:09:53 -04:00
perform-download.scm
processes.scm
publish.scm
pull.scm pull: Use SRFI-71 instead of SRFI-11. 2021-06-29 00:00:14 +02:00
refresh.scm
remove.scm
repl.scm
search.scm
show.scm
size.scm
substitute.scm substitute: Fix handling of short option "-h". 2021-07-16 19:36:11 +02:00
system.scm
time-machine.scm
upgrade.scm
weather.scm weather: Handle zero requested store items gracefully. 2021-06-29 20:11:56 +02:00