mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-04 20:54:45 +02:00
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>
This commit is contained in:
parent
03566537a5
commit
9e1e717bf7
|
@ -68,7 +68,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then
|
|||
fi
|
||||
|
||||
if interfaces=`ip tuntap list` 2>/dev/null; then
|
||||
interfaces=`echo "$interfaces" |cut -f1 -d: `
|
||||
interfaces=`echo "$interfaces" |cut -f1 -d: |grep -E "^$OE_TAP_NAME.*"`
|
||||
else
|
||||
echo "Failed to call 'ip tuntap list'" >&2
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user