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 import: Add CHICKEN egg importer. 2021-06-03 13:05:18 +02:00
system reconfigure: Use 'formatted-message'. 2021-06-25 15:12:05 +02:00
archive.scm scripts: Commands warn when passed zero arguments. 2021-05-28 11:36:02 +02:00
authenticate.scm
build.scm Revert "guix build: Autoload (gnu packages)." 2021-06-29 00:10:54 +02:00
challenge.scm scripts: challenge: Fix regression. 2021-05-20 11:44:35 +02:00
container.scm
copy.scm scripts: Commands warn when passed zero arguments. 2021-05-28 11:36:02 +02:00
deploy.scm reconfigure: Use 'formatted-message'. 2021-06-25 15:12:05 +02:00
describe.scm
discover.scm scripts: discover: Report Avahi errors. 2021-05-22 14:04:19 +02:00
download.scm
edit.scm scripts: Commands warn when passed zero arguments. 2021-05-28 11:36:02 +02:00
environment.scm profiles: Add 'load-profile'. 2021-06-18 14:18:07 +02:00
gc.scm
git.scm
graph.scm scripts: Commands warn when passed zero arguments. 2021-05-28 11:36:02 +02:00
hash.scm
import.scm import: Add CHICKEN egg importer. 2021-06-03 13:05:18 +02:00
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 publish: Add keep-alive support when sending nar. 2021-06-01 09:10:32 +02:00
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 guix: scripts system: Increase the size for generating Docker container images. 2021-05-10 09:43:12 +02:00
time-machine.scm
upgrade.scm
weather.scm weather: Handle zero requested store items gracefully. 2021-06-29 20:11:56 +02:00