diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-09 11:24:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-16 14:31:27 +0000 |
commit | 5df29d420ad5b6432960ddf6d35fa16f1945078c (patch) | |
tree | 55ea3a62d6c59f346eea36bbaf4d0f0e0404fab1 /meta/lib | |
parent | 1f1367a59d9920b9e7a902200e9145cfcd9bd20a (diff) | |
download | poky-5df29d420ad5b6432960ddf6d35fa16f1945078c.tar.gz |
image-buildinfo,oeqa/selftest/containerimage: Ensure image-buildinfo doesn't break tests
Having image-buildinfo enabled causes containerimage.ContainerImageTests.test_expected_files
to fail due to the presence of an unexpected file:
['./',
'./etc/',
- './etc/build',
'./etc/default/',
'./etc/default/postinst',
Tweak the class to allow it to be disabled and disable it from the test just in
case it was enabled.
(From OE-Core rev: af67bf422a4df5b7e07894512ff73a5f493682ab)
(From OE-Core rev: f49ab8b1610c045acaed7b964d12f07f969df856)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/containerimage.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/containerimage.py b/meta/lib/oeqa/selftest/cases/containerimage.py index 99a5cc9e57..8deaae75d8 100644 --- a/meta/lib/oeqa/selftest/cases/containerimage.py +++ b/meta/lib/oeqa/selftest/cases/containerimage.py | |||
@@ -39,6 +39,7 @@ class ContainerImageTests(OESelftestTestCase): | |||
39 | IMAGE_FSTYPES = "container" | 39 | IMAGE_FSTYPES = "container" |
40 | PACKAGE_CLASSES = "package_ipk" | 40 | PACKAGE_CLASSES = "package_ipk" |
41 | IMAGE_FEATURES = "" | 41 | IMAGE_FEATURES = "" |
42 | IMAGE_BUILDINFO_FILE = "" | ||
42 | """) | 43 | """) |
43 | 44 | ||
44 | bbvars = get_bb_vars(['bindir', 'sysconfdir', 'localstatedir', | 45 | bbvars = get_bb_vars(['bindir', 'sysconfdir', 'localstatedir', |