[oe-commits] Ross Burton : runqemu-ifup: when tunctl can't be found, say what package builds it

git at git.openembedded.org git at git.openembedded.org
Mon Aug 26 09:55:48 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 6dded0b8456421b6351a8dbb460e43193d5c0b65
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6dded0b8456421b6351a8dbb460e43193d5c0b65

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Aug 22 15:36:18 2013 +0100

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 at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 scripts/runqemu-ifup |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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
 



More information about the Openembedded-commits mailing list