]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: wic: configure a build
authorEd Bartosh <ed.bartosh@linux.intel.com>
Wed, 2 Sep 2015 10:58:03 +0000 (13:58 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Sep 2015 22:46:49 +0000 (23:46 +0100)
commitc5bb95704e00e7afdbcb2e02c1fbc74f33e26481
tree37ed279cfd3faa632ccf3c50a1d2bc94225a2761
parent5dc02d572794298b3362378cea3d7da654456c44
oe-selftest: wic: configure a build

Added MACHINE_FEATURES and IMAGE_FSTYPES variables to the build config
to ensure that bootimg and efi artifacts are built. This is needed to
build canned wic images that are using those artifacts.

Introduced class variable Wic.image_is_ready to avoid building image
more than once. It would be better to build image in setUpClass, which
is called only once, but add_config method can't be called in class method,
so we have to use this trick with class variable in setUp method.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/wic.py