From 68ffca3470a84e966e5b1d81611fc59ce9f7b76c Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 12 Jun 2013 11:24:20 +0100 Subject: 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. (From OE-Core rev: 1498c431a161e8b3ddebefb5f03f4f11d5796c1d) Signed-off-by: Ross Burton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- scripts/runqemu-ifdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/runqemu-ifdown b/scripts/runqemu-ifdown index 710d297..8b8c5a4 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 -- cgit v1.1