generic-poky/meta-selftest/recipes-test/images
Richard Purdie fb1654fee4 image: Fix wic environment issues
The wic environment function needs to run after the rootfs size is
setup. We move this code to a specific task, and depend on that task
from the wic images and other places its needed.
This fixes:

======================================================================
FAIL: test_image_env (oeqa.selftest.wic.Wic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 218, in test_image_env
    self.assertTrue(var in content, "%s is not in .env file" % var)
AssertionError: False is not true : ROOTFS_SIZE is not in .env file

(From OE-Core rev: 606f9e2d7d8d389c8d4f5c3090139d3bb780e09c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-19 17:24:46 +00:00
..
error-image.bb meta-selftest: add error recipe and error-image 2015-09-24 17:54:30 +01:00
oe-selftest-image.bb oe-selftest: add a test for devtool deploy-target 2015-03-20 11:27:48 +00:00
test-empty-image.bb test-empty-image: rename from core-image-empty 2015-10-19 17:57:59 +01:00
wic-image-minimal.bb image: Fix wic environment issues 2016-01-19 17:24:46 +00:00
wic-image-minimal.wks wic: use ext4 in wic-image-minimal.wks 2015-09-23 09:52:54 +01:00