diff options
-rw-r--r-- | meta-selftest/wic/test_rawcopy_plugin.wks.in | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/cases/wic.py | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/meta-selftest/wic/test_rawcopy_plugin.wks.in b/meta-selftest/wic/test_rawcopy_plugin.wks.in index 83be4be914..a865dd1d32 100644 --- a/meta-selftest/wic/test_rawcopy_plugin.wks.in +++ b/meta-selftest/wic/test_rawcopy_plugin.wks.in | |||
@@ -1,6 +1,6 @@ | |||
1 | # short-description: This file is used in oe-selftest wic module to test rawcopy plugin | 1 | # short-description: This file is used in oe-selftest wic module to test rawcopy plugin |
2 | 2 | ||
3 | part /boot --active --source bootimg-pcbios | 3 | part /boot --active --source bootimg-pcbios |
4 | part / --source rawcopy --sourceparams="file=core-image-minimal-${MACHINE}.ext4" --use-uuid | 4 | part / --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME_CORE_IMAGE_MINIMAL}.ext4" --use-uuid |
5 | 5 | ||
6 | bootloader --timeout=0 --append="console=ttyS0,115200n8" | 6 | bootloader --timeout=0 --append="console=ttyS0,115200n8" |
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py index 7c31848732..b26b649c3a 100644 --- a/meta/lib/oeqa/selftest/cases/wic.py +++ b/meta/lib/oeqa/selftest/cases/wic.py | |||
@@ -1034,9 +1034,13 @@ class Wic2(WicTestCase): | |||
1034 | config = 'IMAGE_FSTYPES = "ext4"\n' | 1034 | config = 'IMAGE_FSTYPES = "ext4"\n' |
1035 | self.append_config(config) | 1035 | self.append_config(config) |
1036 | bitbake('core-image-minimal') | 1036 | bitbake('core-image-minimal') |
1037 | image_link_name = get_bb_var('IMAGE_LINK_NAME', 'core-image-minimal') | ||
1037 | self.remove_config(config) | 1038 | self.remove_config(config) |
1038 | 1039 | ||
1039 | config = 'IMAGE_FSTYPES = "wic"\nWKS_FILE = "test_rawcopy_plugin.wks.in"\n' | 1040 | config = 'IMAGE_FSTYPES = "wic"\n' \ |
1041 | 'IMAGE_LINK_NAME_CORE_IMAGE_MINIMAL = "%s"\n'\ | ||
1042 | 'WKS_FILE = "test_rawcopy_plugin.wks.in"\n'\ | ||
1043 | % image_link_name | ||
1040 | self.append_config(config) | 1044 | self.append_config(config) |
1041 | bitbake('core-image-minimal-mtdutils') | 1045 | bitbake('core-image-minimal-mtdutils') |
1042 | self.remove_config(config) | 1046 | self.remove_config(config) |