X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=make-initramfs.sh.in;h=6ff6e6982302579ab19b1b29fefcbb55a627a4b3;hb=6fd5bc84893c600af75ef64fa9f9a043b665c76a;hp=b550ed926092d1592bb7ecc0cc4f277f3488fa14;hpb=6d5f69f81a888e26a425800c80d2892e10d74cea;p=libguestfs.git diff --git a/make-initramfs.sh.in b/make-initramfs.sh.in index b550ed9..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] @@ -76,6 +80,7 @@ find initramfs/lib/modules/*/kernel \ -a ! -name 'ext4.ko' \ -a ! -name 'crc16.ko' \ -a ! -name 'jbd2.ko' \ + -a ! -name 'fuse.ko' \ -a -delete # Pull the kernel out into the current directory. We don't want it in