summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-ifup
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-08-22 15:36:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-26 11:26:01 +0100
commit45f80a0c46035dc73818ce4bd818a4f6197d954f (patch)
tree7bc9b542057a61f3165095e4d614714712326ce8 /scripts/runqemu-ifup
parent4779d3c89cf0129763a4f5b7306c1247a0d6d021 (diff)
downloadopenembedded-core-45f80a0c46035dc73818ce4bd818a4f6197d954f.tar.gz
openembedded-core-45f80a0c46035dc73818ce4bd818a4f6197d954f.tar.bz2
openembedded-core-45f80a0c46035dc73818ce4bd818a4f6197d954f.zip
runqemu-ifup: 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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/runqemu-ifup')
-rwxr-xr-xscripts/runqemu-ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup
index 5f6a437cd7..b5a3db964b 100755
--- a/scripts/runqemu-ifup
+++ b/scripts/runqemu-ifup
@@ -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