mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 09:49:35 +02:00
selftest: wic: Add APPEND to the optional variables list
The APPEND is an optional variable, so add it to the optional variables list to make the wic selftest happy. (From OE-Core rev: 7c8b3a1b920fd4cc1598357985eef0e5e0e0ac79) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
69552188ea
commit
623326ac5a
@@ -537,7 +537,8 @@ class Wic2(WicTestCase):
|
|||||||
# filter out optional variables
|
# filter out optional variables
|
||||||
wicvars = wicvars.difference(('DEPLOY_DIR_IMAGE', 'IMAGE_BOOT_FILES',
|
wicvars = wicvars.difference(('DEPLOY_DIR_IMAGE', 'IMAGE_BOOT_FILES',
|
||||||
'INITRD', 'INITRD_LIVE', 'ISODIR','INITRAMFS_IMAGE',
|
'INITRD', 'INITRD_LIVE', 'ISODIR','INITRAMFS_IMAGE',
|
||||||
'INITRAMFS_IMAGE_BUNDLE', 'INITRAMFS_LINK_NAME'))
|
'INITRAMFS_IMAGE_BUNDLE', 'INITRAMFS_LINK_NAME',
|
||||||
|
'APPEND'))
|
||||||
with open(path) as envfile:
|
with open(path) as envfile:
|
||||||
content = dict(line.split("=", 1) for line in envfile)
|
content = dict(line.split("=", 1) for line in envfile)
|
||||||
# test if variables used by wic present in the .env file
|
# test if variables used by wic present in the .env file
|
||||||
|
|||||||
Reference in New Issue
Block a user