diff options
author | Ross Burton <ross.burton@intel.com> | 2013-06-12 11:24:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-09 10:53:51 +0100 |
commit | 2532e651f5fb24d8a6c65a8444feeffa9256cdc1 (patch) | |
tree | a48a00c77b9ebae714f57fe2d3d2a1b51f8486c4 /scripts | |
parent | 0ba66d7e53e9ab3003230bcd31111c4de8228937 (diff) | |
download | poky-2532e651f5fb24d8a6c65a8444feeffa9256cdc1.tar.gz |
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 master rev: 1498c431a161e8b3ddebefb5f03f4f11d5796c1d)
(From OE-Core rev: 9a7e01858b4f00621ac4d95d3fe492117690553c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu-ifdown | 2 |
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 | |||
45 | 45 | ||
46 | TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl | 46 | TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl |
47 | if [ ! -e "$TUNCTL" ]; then | 47 | if [ ! -e "$TUNCTL" ]; then |
48 | echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin'" | 48 | echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin', please bitbake qemu-helper-native" |
49 | exit 1 | 49 | exit 1 |
50 | fi | 50 | fi |
51 | 51 | ||