diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2023-06-22 19:01:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-24 12:21:48 +0100 |
commit | 9e1e717bf7498d645891eba80f8db455bd4f036b (patch) | |
tree | 1e2b1a674816cf19a8a9ab59f7deeffe995073b7 /scripts | |
parent | 03566537a5a1f01bdc1a923ec41816d91ed8f6ab (diff) | |
download | poky-9e1e717bf7498d645891eba80f8db455bd4f036b.tar.gz |
runqemu-gen-tapdevs: remove only our taps
Ignore itnerfaces with other names than what the runqemu scripts created.
(From OE-Core rev: e99ec79a423d09b9308e3d42f0832ee583b1456d)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu-gen-tapdevs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs index cbf8008929..a00c79c442 100755 --- a/scripts/runqemu-gen-tapdevs +++ b/scripts/runqemu-gen-tapdevs | |||
@@ -68,7 +68,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then | |||
68 | fi | 68 | fi |
69 | 69 | ||
70 | if interfaces=`ip tuntap list` 2>/dev/null; then | 70 | if interfaces=`ip tuntap list` 2>/dev/null; then |
71 | interfaces=`echo "$interfaces" |cut -f1 -d: ` | 71 | interfaces=`echo "$interfaces" |cut -f1 -d: |grep -E "^$OE_TAP_NAME.*"` |
72 | else | 72 | else |
73 | echo "Failed to call 'ip tuntap list'" >&2 | 73 | echo "Failed to call 'ip tuntap list'" >&2 |
74 | exit 1 | 74 | exit 1 |