]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu-ifup: when tunctl can't be found, say what package builds it
authorRoss Burton <ross.burton@intel.com>
Thu, 22 Aug 2013 14:36:18 +0000 (15:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 10:26:01 +0000 (11:26 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/runqemu-ifup

index 5f6a437cd737b8b1900590a5767ede72c368c7a2..b5a3db964b4ff0222996f968485b58698364a967 100755 (executable)
@@ -53,7 +53,7 @@ NATIVE_SYSROOT_DIR=$3
 
 TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl
 if [ ! -x "$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