diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-09 00:05:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-09 00:12:43 -0700 |
commit | 6459dde380febce24d2c355d441d9cb3b14409b9 (patch) | |
tree | 2689960299d7b06d210075b3606c95603291db8e /scripts/runqemu-internal | |
parent | 4238f3b6e320969aaf539e6afb1cb2bfd61bb28b (diff) | |
download | openembedded-core-6459dde380febce24d2c355d441d9cb3b14409b9.tar.gz openembedded-core-6459dde380febce24d2c355d441d9cb3b14409b9.tar.bz2 openembedded-core-6459dde380febce24d2c355d441d9cb3b14409b9.zip |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 0ace485cb8..d743322037 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" |