aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2019-03-19 11:14:39 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-19 11:30:34 +0100
commit6c5e618ca004d3714d9de7676f2a984735bfe17b (patch)
tree0e865b1b6087629249b38aa6e3cd5f9e29ce61bb
parent427c87d0bdc06cc3ee7fc220fd3ad36084412533 (diff)
downloadpatches-6c5e618ca004d3714d9de7676f2a984735bfe17b.tar
patches-6c5e618ca004d3714d9de7676f2a984735bfe17b.tar.gz
pack: Create an empty /home directory for '-f squashfs'.
Fixes <https://bugs.gnu.org/34914>. * guix/scripts/pack.scm (squashfs-image)[build]: Pass "-p /home d 555 0 0".
-rw-r--r--guix/scripts/pack.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 8685ba1d0a..e5502ef9ca 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -378,7 +378,8 @@ added to the pack."
;; Create empty mount points.
"-p" "/proc d 555 0 0"
"-p" "/sys d 555 0 0"
- "-p" "/dev d 555 0 0"))
+ "-p" "/dev d 555 0 0"
+ "-p" "/home d 555 0 0"))
(when database
;; Initialize /var/guix.