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:30:36 +0000 (11:30 +0100)
commitee05a4ec2db84eef8c7d9329cf97ba728654b089
treed8c1697e97857aff0b0aab563f84efe5898a56d0
parent6f8439f057db40f98ec5218f46a79eba4c90277f
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]

(From OE-Core rev: 85ed217b603a86113dda11d952850e8ceed30795)

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