diff options
| author | Kevin Hao <kexin.hao@windriver.com> | 2020-02-15 19:41:44 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-15 22:42:14 +0000 |
| commit | 623326ac5aa5aa23649aeea8ec98d010dd5ce01b (patch) | |
| tree | eaddaf4e4a8a60e9d3e2b933677ae122a75a1fd0 /meta/lib | |
| parent | 69552188ea571dca29e07a58e88460d776e16f1e (diff) | |
| download | poky-623326ac5aa5aa23649aeea8ec98d010dd5ce01b.tar.gz | |
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>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/wic.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py index 46cd98b193..626a217e69 100644 --- a/meta/lib/oeqa/selftest/cases/wic.py +++ b/meta/lib/oeqa/selftest/cases/wic.py | |||
| @@ -537,7 +537,8 @@ class Wic2(WicTestCase): | |||
| 537 | # filter out optional variables | 537 | # filter out optional variables |
| 538 | wicvars = wicvars.difference(('DEPLOY_DIR_IMAGE', 'IMAGE_BOOT_FILES', | 538 | wicvars = wicvars.difference(('DEPLOY_DIR_IMAGE', 'IMAGE_BOOT_FILES', |
| 539 | 'INITRD', 'INITRD_LIVE', 'ISODIR','INITRAMFS_IMAGE', | 539 | 'INITRD', 'INITRD_LIVE', 'ISODIR','INITRAMFS_IMAGE', |
| 540 | 'INITRAMFS_IMAGE_BUNDLE', 'INITRAMFS_LINK_NAME')) | 540 | 'INITRAMFS_IMAGE_BUNDLE', 'INITRAMFS_LINK_NAME', |
| 541 | 'APPEND')) | ||
| 541 | with open(path) as envfile: | 542 | with open(path) as envfile: |
| 542 | content = dict(line.split("=", 1) for line in envfile) | 543 | content = dict(line.split("=", 1) for line in envfile) |
| 543 | # test if variables used by wic present in the .env file | 544 | # test if variables used by wic present in the .env file |
