ip list can return devices in the form tapX@NONE. If it does so, ensure we handle that case correctly. Newer distros appear to do this in some cases.
[YOCTO #8129] Signed-off-by: Richard Purdie <[email protected]> diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 0ace485..d743322 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -179,7 +179,7 @@ else exit 1 fi - POSSIBLE=`$IFCONFIG link | grep 'tap' | awk '{print $2}' | sed s/://` + POSSIBLE=`$IFCONFIG link | grep 'tap' | awk '{print $2}' | sed -e 's/://' -e 's/@.*//'` TAP="" LOCKFILE="" USE_PRECONF_TAP="no" -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
