]> code.ossystems Code Review - openembedded-core.git/commit
runqemu-ifup: Check if the tap interface is set up correctly
authorMariano Lopez <mariano.lopez@linux.intel.com>
Thu, 22 Oct 2015 13:39:20 +0000 (13:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Oct 2015 11:20:21 +0000 (12:20 +0100)
commit52f6bacffc517198f0d1f24e5418ee4c9cb5442a
tree1537992bb7c9971a6561715cd56ba26f69a0279b
parent751a3fec83792037aff23c8cca1bc60664f7b581
runqemu-ifup: Check if the tap interface is set up correctly

The process to set up a tap interface is as follows:
    - tap interface is created
    - An IP address is assigned to the tap interface
    - The interface is bring up
    - A route is added to the target using the tap
      interface

Of all the previous steps, only the first one is
check if it was sucessful. The status of the others
are ignored and all of them are required to have
basic connectivity in the target.

This patch adds the checks for the rest of the stpes
needed to set up the tap interface.

[YOCTO #8550]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu-ifup