If runqemu-ifup fails hen running testimage, a rather cryptic error
regarding "no tty present" is displayed. If this step fails, we
should at least point the user at runqemu-gen-tapdevs. A quick search
of this term in the manual will lead them to "Enabling Runtime Tests
on QEMU" which should give them all the info they need.

Signed-off-by: Stephano Cetola <[email protected]>
---
 scripts/runqemu-internal | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index d10466d..3d728c0 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -153,6 +153,7 @@ else
             if [ $? -ne 0 ]; then
                 # Re-run standalone to see verbose errors
                 sudo $QEMUIFUP $USERID $GROUPID $OECORE_NATIVE_SYSROOT
+                echo "ERROR: Failed to setup tap device. Run 
runqemu-gen-tapdevs to manually create."
                 return 1
             fi
             LOCKFILE="$LOCKDIR/$tap"
-- 
2.9.3

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to