From b0a096e29ec264c8a4829d18834239a032d93f99 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 3 Jul 2014 18:10:54 +0100 Subject: [PATCH] qemu defaults to using /var/tmp for the overlay, so we need to ensure /var/tmp is a tmpfs too. Oops. --- init.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- 1.8.3.1