runqemu-ifup: when tunctl can't be found, say what package builds it
PATCH 1/1 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 <[email protected]>
--- scripts/runqemu-ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu-ifup +1 -1
@@ -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
Signature · 1 line
1.7.10.4
Quoted 15 lines · Ross Burton
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 <[email protected]>--- scripts/runqemu-ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/runqemu-ifup +0
-0
scripts/runqemu-ifup NATIVE_SYSROOT_DIR=$3 · line 56
Quoted 5 lines
scripts/runqemu-ifup +1
-1@@ -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"
^ inconsistent whitespace
Quoted 10 lines
scripts/runqemu-ifup +0
-0exit 1 fiSignature · 6 lines
1.7.10.4 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]