]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: work with tap device names that end with a colon
authorScott Garman <scott.a.garman@intel.com>
Fri, 21 Sep 2012 22:06:02 +0000 (15:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Sep 2012 10:24:47 +0000 (11:24 +0100)
commit85ed217b603a86113dda11d952850e8ceed30795
tree13d3764b00845d088aa275588976688f457f43db
parent6bb6ca6164b6b5f082fe05c30974463c2aa1c170
runqemu: work with tap device names that end with a colon

On Fedora systems (and likely others), ifconfig returns interface
names that end with a colon. Make sure we strip the colon off the
tap device name before using it.

This fixes [YOCTO #3028]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu-gen-tapdevs
scripts/runqemu-internal