summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/wic.py
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-02-14 16:45:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-16 09:46:29 +0000
commitb709e926d3a3a50b4f8c016ba1f17b0f9cdb3118 (patch)
tree5bcb502decaba8ba566a46ca2d0c5b4fd4210290 /meta/lib/oeqa/selftest/cases/wic.py
parent0c20edddfc2b65cc1b5e97cf7eb321cd3884b6b6 (diff)
downloadpoky-b709e926d3a3a50b4f8c016ba1f17b0f9cdb3118.tar.gz
selftest: wic: Remove requirement of syslinux from test_rawcopy_plugin
Remove bootimg-pcbios from wks to eliminate requirement of syslinux from test_rawcopy_plugin to avoid the following error. ERROR: Couldn't find correct bootimg_dir, exiting (From OE-Core rev: 99e2321e049fa63b83f3daa076eeff7f6791986b) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/wic.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index 5fc8e65142..96b3e1b6a5 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -1070,10 +1070,8 @@ class Wic2(WicTestCase):
1070 img = 'core-image-minimal' 1070 img = 'core-image-minimal'
1071 machine = get_bb_var('MACHINE', img) 1071 machine = get_bb_var('MACHINE', img)
1072 with NamedTemporaryFile("w", suffix=".wks") as wks: 1072 with NamedTemporaryFile("w", suffix=".wks") as wks:
1073 wks.writelines(['part /boot --active --source bootimg-pcbios\n', 1073 wks.write('part / --source rawcopy --sourceparams="file=%s-%s.ext4"\n'\
1074 'part / --source rawcopy --sourceparams="file=%s-%s.ext4" --use-uuid\n'\ 1074 % (img, machine))
1075 % (img, machine),
1076 'bootloader --timeout=0 --append="console=ttyS0,115200n8"\n'])
1077 wks.flush() 1075 wks.flush()
1078 cmd = "wic create %s -e %s -o %s" % (wks.name, img, self.resultdir) 1076 cmd = "wic create %s -e %s -o %s" % (wks.name, img, self.resultdir)
1079 runCmd(cmd) 1077 runCmd(cmd)