mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
12b4cbbfee
commit
3cb2640ad5
@@ -206,9 +206,12 @@ class ImageFeatures(OESelftestTestCase):
|
||||
skip_image_types = set(('container', 'elf', 'f2fs', 'multiubi', 'tar.zst', 'wic.zst', 'squashfs-lzo'))
|
||||
img_types = all_image_types - skip_image_types
|
||||
|
||||
config = 'IMAGE_FSTYPES += "%s"\n'\
|
||||
'MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 2047"\n'\
|
||||
'UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512"' % ' '.join(img_types)
|
||||
config = """
|
||||
IMAGE_FSTYPES += "%s"
|
||||
WKS_FILE = "wictestdisk.wks"
|
||||
MKUBIFS_ARGS ?= "-m 2048 -e 129024 -c 2047"
|
||||
UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512"
|
||||
""" % ' '.join(img_types)
|
||||
self.write_config(config)
|
||||
|
||||
bitbake(image_name)
|
||||
|
||||
Reference in New Issue
Block a user