[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 10:19:16 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 45f80a0c46035dc73818ce4bd818a4f6197d954f
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=45f80a0c46035dc73818ce4bd818a4f6197d954f
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