qemu defaults to using /var/tmp for the overlay, so we need to ensure /var/tmp is...
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 3 Jul 2014 17:10:54 +0000 (18:10 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 3 Jul 2014 17:10:54 +0000 (18:10 +0100)
Oops.

init.in

diff --git a/init.in b/init.in
index f10d8a2..84f11fa 100644 (file)
--- 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 \