X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=make-initramfs.sh.in;fp=make-initramfs.sh.in;h=6ff6e6982302579ab19b1b29fefcbb55a627a4b3;hp=952ccfa6c9757427d6f8649d185ade8d48f58ea7;hb=b837b64c74567b5291964005f691a18655396460;hpb=94b95dc06c34d89cc56fb096b1e30b5e19d06c10 diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in index 952ccfa..6ff6e69 100755 --- a/make-initramfs.sh.in +++ b/make-initramfs.sh.in @@ -45,6 +45,10 @@ rm -f $koutput # /sysroot is where the guest root filesystem will be mounted. mkdir initramfs/sysroot +# Create /tmp if it is missing. +mkdir -p initramfs/tmp +@FEBOOTSTRAP_RUN@ initramfs -- chmod 0777 /tmp + # Make a safe 'install_file' function to install files into the # filesystem. XXX We need a 'febootstrap-install' utility. # Usage: install_file mode owner[.group]