aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2020-03-13 13:06:59 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-13 17:33:38 +0100
commit24fb0dc0ab34ebb49509a3d5b4d84d8488670807 (patch)
tree3605db7f6e0ebaab1a2775c2934017c3b80479cd
parentb829864d747b3b24ef37cafe36e889527b060d4d (diff)
downloadguix-24fb0dc0ab34ebb49509a3d5b4d84d8488670807.tar
guix-24fb0dc0ab34ebb49509a3d5b4d84d8488670807.tar.gz
pack: Do not create a squashfs "recovery file".
Reported by Josh Marshall <Josh.Marshall@jax.org>. * guix/scripts/pack.scm (squashfs-image)[build](mksquashfs): Always pass "-no-recovery".
-rw-r--r--guix/scripts/pack.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 414e2d45f3..652b4c63c4 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -369,6 +369,10 @@ added to the pack."
(apply invoke "mksquashfs"
`(,@args
+ ;; Do not create a "recovery file" when appending to the
+ ;; file system since it's useless in this case.
+ "-no-recovery"
+
;; Set file times and the file system creation time to
;; one second after the Epoch.
"-all-time" "1" "-mkfs-time" "1"