summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-09 19:31:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-11 13:43:40 +0000
commit3cb2640ad5e0717671351c8dc4f0da2e27c0882c (patch)
tree35bfc463385d8085af71f61c586ccc46990b48ed
parent12b4cbbfee37cc9de1d1713f482a4cd6917648e2 (diff)
downloadpoky-3cb2640ad5e0717671351c8dc4f0da2e27c0882c.tar.gz
oeqa/selftest/imagefeatures: set a .wks in test_fs_types
Set WKS_FILE to wictestdisk.wks, which is a very simple Wic file that simply contains the root filesystem. It may not actually boot but this test doesn't care, and it does exercise the wic image construction on all machines. (From OE-Core rev: b66a94896193f8d8eeff43b66e9daeb9a74bfed9) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/imagefeatures.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index df796eaed0..af38150613 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -206,9 +206,12 @@ class ImageFeatures(OESelftestTestCase):
206 skip_image_types = set(('container', 'elf', 'f2fs', 'multiubi', 'tar.zst', 'wic.zst', 'squashfs-lzo')) 206 skip_image_types = set(('container', 'elf', 'f2fs', 'multiubi', 'tar.zst', 'wic.zst', 'squashfs-lzo'))
207 img_types = all_image_types - skip_image_types 207 img_types = all_image_types - skip_image_types
208 208
209 config = 'IMAGE_FSTYPES += "%s"\n'\ 209 config = """
210 'MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 2047"\n'\ 210IMAGE_FSTYPES += "%s"
211 'UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512"' % ' '.join(img_types) 211WKS_FILE = "wictestdisk.wks"
212MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 2047"
213UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512"
214""" % ' '.join(img_types)
212 self.write_config(config) 215 self.write_config(config)
213 216
214 bitbake(image_name) 217 bitbake(image_name)