diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-03 17:22:08 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-05 09:22:18 +0000 |
| commit | 675bb9ddb8565a0fb29ace2d0bdea41a2090fcef (patch) | |
| tree | 161b16cefd7c0b4e8da7a77dd7fc14ce578abdae | |
| parent | 23237b46dc81fc36e6e2864feae203b6b0c5fef7 (diff) | |
| download | poky-675bb9ddb8565a0fb29ace2d0bdea41a2090fcef.tar.gz | |
selftest: wic: stop using iso image type
Removed 'IMAGE_FSTYPES = "iso" as this functionality depends on
do_bootimg, which is going to be obsoleted soon.
As wic doesn't depend on bootimg it's safe to remove this.
(From OE-Core rev: a08e2019223d7c04916967d8fd42279e8e1e186f)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 07b8312a21..417ba3d26f 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
| @@ -42,8 +42,7 @@ class Wic(oeSelfTest): | |||
| 42 | 42 | ||
| 43 | def setUpLocal(self): | 43 | def setUpLocal(self): |
| 44 | """This code is executed before each test method.""" | 44 | """This code is executed before each test method.""" |
| 45 | self.write_config('IMAGE_FSTYPES = "iso"\n' | 45 | self.write_config('MACHINE_FEATURES_append = " efi"\n') |
| 46 | 'MACHINE_FEATURES_append = " efi"\n') | ||
| 47 | 46 | ||
| 48 | # Do this here instead of in setUpClass as the base setUp does some | 47 | # Do this here instead of in setUpClass as the base setUp does some |
| 49 | # clean up which can result in the native tools built earlier in | 48 | # clean up which can result in the native tools built earlier in |
| @@ -151,7 +150,8 @@ class Wic(oeSelfTest): | |||
| 151 | @testcase(1346) | 150 | @testcase(1346) |
| 152 | def test_iso_image(self): | 151 | def test_iso_image(self): |
| 153 | """Test creation of hybrid iso image with legacy and EFI boot""" | 152 | """Test creation of hybrid iso image with legacy and EFI boot""" |
| 154 | config = 'MACHINE_FEATURES_append = " efi"\n' | 153 | config = 'INITRAMFS_IMAGE = "core-image-minimal-initramfs"\n'\ |
| 154 | 'MACHINE_FEATURES_append = " efi"\n' | ||
| 155 | self.append_config(config) | 155 | self.append_config(config) |
| 156 | bitbake('core-image-minimal') | 156 | bitbake('core-image-minimal') |
| 157 | self.remove_config(config) | 157 | self.remove_config(config) |
