generic-poky/meta-selftest
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
..
classes meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00
conf meta-selftest: Add qemux86copy machine 2015-10-01 07:43:35 +01:00
files/signing oeqa/selftest/signing: New test for Signing packages in the package feeds. 2015-11-24 15:55:41 +00:00
lib/devtool oeqa/selftest: verify that devtool can use plugins in other layers 2015-10-21 22:56:06 +01:00
recipes-test image: Fix wic environment issues 2016-01-19 17:24:46 +00:00
COPYING.MIT meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00
README meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00

README

This layer is intended as test layer, used by scripts/oe-selftest
and it's probably a mistake to include it in your builds (unless you
want to run the script).