summaryrefslogtreecommitdiff
path: root/scripts/runqemu-ifdown
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-06-12 11:24:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-13 17:37:57 +0100
commit1498c431a161e8b3ddebefb5f03f4f11d5796c1d (patch)
treedc24aa57838de2494176ef4d73ec769d87974d5e /scripts/runqemu-ifdown
parente4b206f28032916e95cc21a893af687409efe83f (diff)
downloadopenembedded-core-1498c431a161e8b3ddebefb5f03f4f11d5796c1d.tar.gz
openembedded-core-1498c431a161e8b3ddebefb5f03f4f11d5796c1d.tar.bz2
openembedded-core-1498c431a161e8b3ddebefb5f03f4f11d5796c1d.zip
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/runqemu-ifdown')
-rwxr-xr-xscripts/runqemu-ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-ifdown b/scripts/runqemu-ifdown
index 710d2975c5..8b8c5a4a7a 100755
--- a/scripts/runqemu-ifdown
+++ b/scripts/runqemu-ifdown
@@ -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