Skip to contentSkip to conversation

runqemu: when tunctl can't be found, say what package builds it

PATCH New Ross Burton 1 participant 1 message Jun 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqemu: when tunctl can't be found, say what package builds it

If runqemu is used without actually building any qemu images (i.e. you downloaded the images) it's likely that qemu-helper-native hasn't been built. Instead of just saying what command can't be found, tell the user how to solve their problem.

---
 scripts/runqemu-ifdown |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu-ifdown +1 -1
index 710d297..8b8c5a4 100755
@@ -45,7 +45,7 @@ NATIVE_SYSROOT_DIR=$2
 
 TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl
 if [ ! -e "$TUNCTL" ]; then
-	echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin'"
+	echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin', please bitbake qemu-helper-native"
 	exit 1
 fi
 
Signature · 1 line
1.7.10.4