chmod /sysroot (also makes it known to fakeroot)
[libguestfs.git] / make-initramfs.sh.in
index 6ff6e69..6e7e98f 100755 (executable)
@@ -44,6 +44,7 @@ rm -f $koutput
 
 # /sysroot is where the guest root filesystem will be mounted.
 mkdir initramfs/sysroot
+@FEBOOTSTRAP_RUN@ initramfs -- chmod 0777 /sysroot
 
 # Create /tmp if it is missing.
 mkdir -p initramfs/tmp