From 7d7d35f369c271a7b7cf517601d472ab2104297b Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Thu, 14 Oct 2010 11:29:44 -0700 Subject: poky-qemu: miscellaneous bugfixes In scenarios where the POKY_NATIVE_SYSROOT env variable hasn't been set up, bug #427 can still be triggered. This fixes it by running setup_tmpdir(). This fixes [BUGID #427]. Also, the qemu tap dev lock directory needs to be chmod 777 so that multiple users can create and delete lock files. Signed-off-by: Scott Garman --- scripts/poky-qemu-internal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/poky-qemu-internal') diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index 2f8af9570..66db0333e 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal @@ -108,7 +108,10 @@ release_lock() { } LOCKDIR="/tmp/qemu-tap-locks" -[ ! -d "$LOCKDIR" ] && mkdir $LOCKDIR +if [ ! -d "$LOCKDIR" ]; then + mkdir $LOCKDIR + chmod 777 $LOCKDIR +fi IFCONFIG=`which ifconfig` if [ -z "$IFCONFIG" ]; then -- cgit v1.2.3