#10833: fix testing of wic images by testimage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | runqemu: output network configurationscripts/ | +3 | 0 replies | |
| 2/4 | qemurunner: get network params from runqemu outputmeta/ | +22 | 0 replies | |
| 3/4 | qemurunner: configure guest networkingmeta/ | +13 | 0 replies | |
| 4/4 | bitbake.conf: add sudo to HOSTTOOLS_NONFATALmeta/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] #10833: fix testing of wic images by testimage
Hi,
It was not possible to test wic images with testimage as this framework configured guest networking by passing "ip=<host ip>::<guest ip>:<netmask>" to the kernel. This approach doesn't work for wic images as kernel is run by bootloader and the kernel command line is defined when image is built.
This patchset implements networking configuration by running commands on guests's serial console. runqemu script was modified to output IP addresses and netmask to be able to get these parameters from its output in testimage code.
The following changes since commit 8e9769773fd6d04402581c005bb423530a726457:
meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs (2017-03-16 22:12:07 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/oe-core/tap-networking-wic-10833
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/oe-core/tap-networking-wic-10833
Ed Bartosh (4):
runqemu: output network configuration
qemurunner: get network params from runqemu output
qemurunner: configure guest networking bitbake.conf: add sudo to HOSTTOOLS_NONFATAL
meta/conf/bitbake.conf | 2 +- meta/lib/oeqa/utils/qemurunner.py | 49 ++++++++++++++++++++++++++++----------- scripts/runqemu | 4 +++- 3 files changed, 39 insertions(+), 16 deletions(-)
--
Regards,
Ed