From: Richard W.M. Jones Date: Thu, 3 Jul 2014 17:10:54 +0000 (+0100) Subject: qemu defaults to using /var/tmp for the overlay, so we need to ensure /var/tmp is... X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b0a096e29ec264c8a4829d18834239a032d93f99;p=supernested.git qemu defaults to using /var/tmp for the overlay, so we need to ensure /var/tmp is a tmpfs too. Oops. --- diff --git a/init.in b/init.in index f10d8a2..84f11fa 100644 --- a/init.in +++ b/init.in @@ -23,7 +23,7 @@ echo "*** /init script starting up ***" export PATH=/sbin:/usr/sbin:/bin:/usr/bin -# Create /proc, /sys, /run, /dev, /tmp +# Create /proc, /sys, /run, /dev, /tmp, /var/tmp if [ ! -d /proc ]; then rm -f /proc; fi mkdir -p /proc mount -t proc /proc /proc @@ -37,6 +37,8 @@ ln -s ../run/lock /var/lock mount -t devtmpfs /dev /dev mkdir -p /tmp mount -t tmpfs tmpfs /tmp +mkdir -p /var/tmp +mount -t tmpfs tmpfs /var/tmp # Find and start udev. for f in /sbin/udevd /lib/udev/udevd \