From: Ross Burton Date: Thu, 22 Aug 2013 14:36:18 +0000 (+0100) Subject: runqemu-ifup: when tunctl can't be found, say what package builds it X-Git-Tag: rev_ivi_2015_02_04~11304 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c43fcf1b0c8f76a339ac30a7254fedb6f9977b90;p=scm%2Fbb%2Ftizen-distro.git 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. (From OE-Core rev: 45f80a0c46035dc73818ce4bd818a4f6197d954f) Signed-off-by: Ross Burton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index 5f6a437..b5a3db9 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