summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 00:05:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 00:13:58 -0700
commit0968e3a68b0b06caeb827938ddf556f21bfce646 (patch)
treec71bfc5996778b7f24b7e24d43faa6da8780246f
parent8020a9e44fffb687d4372c59239958776302a8ae (diff)
downloadpoky-0968e3a68b0b06caeb827938ddf556f21bfce646.tar.gz
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 rev: 6459dde380febce24d2c355d441d9cb3b14409b9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/runqemu-internal2
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
179 exit 1 179 exit 1
180 fi 180 fi
181 181
182 POSSIBLE=`$IFCONFIG link | grep 'tap' | awk '{print $2}' | sed s/://` 182 POSSIBLE=`$IFCONFIG link | grep 'tap' | awk '{print $2}' | sed -e 's/://' -e 's/@.*//'`
183 TAP="" 183 TAP=""
184 LOCKFILE="" 184 LOCKFILE=""
185 USE_PRECONF_TAP="no" 185 USE_PRECONF_TAP="no"