diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-09 00:05:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-18 19:21:40 +0100 |
commit | a6709ac54bb9ac79692c3c6faadaace11b8f33f4 (patch) | |
tree | fa1834e21daad0bdb9cdc1662c44a446b9683d7a /scripts/runqemu-internal | |
parent | 7a161f8685c551892218a9a7877c10bdcd170c0e (diff) | |
download | openembedded-core-a6709ac54bb9ac79692c3c6faadaace11b8f33f4.tar.gz openembedded-core-a6709ac54bb9ac79692c3c6faadaace11b8f33f4.tar.bz2 openembedded-core-a6709ac54bb9ac79692c3c6faadaace11b8f33f4.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]
(From OE-Core master rev: 6459dde380febce24d2c355d441d9cb3b14409b9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
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 e346c64f51..2784d675ab 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" |