summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/wic.py
diff options
context:
space:
mode:
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)