pack: Create an empty /home directory for '-f squashfs'.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Tue, 19 Mar 2019 10:14:39 +0000 (11:14 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 19 Mar 2019 10:30:34 +0000 (11:30 +0100)
Fixes <https://bugs.gnu.org/34914>.

* guix/scripts/pack.scm (squashfs-image)[build]: Pass "-p /home d 555 0 0".

guix/scripts/pack.scm

index 8685ba1..e5502ef 100644 (file)
@@ -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.