runqemu: Handle device names like tapX@NONE
PATCH 1/1 runqemu: Handle device names like tapX@NONE
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]>
scripts/runqemu-internal +1 -1
@@ -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"