diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-04-23 20:02:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-27 15:11:47 +0100 |
commit | 06413d33b30b7a058f20f065eb8c095070708fca (patch) | |
tree | 1fedf493e195e9a5203a394a40b12315e4d12430 /meta/lib/oeqa/selftest/cases/sstatetests.py | |
parent | 377a73d5b72b7c2c400519d9dc8e4b2fcd1348ac (diff) | |
download | poky-06413d33b30b7a058f20f065eb8c095070708fca.tar.gz |
oeqa/selftest: transition to weston images
For readonly rootfs tests core-image-weston
is appended; everywhere else it replaces core-image-sato.
(From OE-Core rev: 75e042db853b9bf9a70ff8a5abe6d45ebb0b77a9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/sstatetests.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/sstatetests.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index c46e8ba489..9db2a0bb44 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py | |||
@@ -261,7 +261,7 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb" | |||
261 | BB_SIGNATURE_HANDLER = "OEBasicHash" | 261 | BB_SIGNATURE_HANDLER = "OEBasicHash" |
262 | """) | 262 | """) |
263 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash") | 263 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash") |
264 | bitbake("core-image-sato -S none") | 264 | bitbake("core-image-weston -S none") |
265 | self.write_config(""" | 265 | self.write_config(""" |
266 | MACHINE = "qemux86" | 266 | MACHINE = "qemux86" |
267 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" | 267 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" |
@@ -273,12 +273,12 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb" | |||
273 | BB_SIGNATURE_HANDLER = "OEBasicHash" | 273 | BB_SIGNATURE_HANDLER = "OEBasicHash" |
274 | """) | 274 | """) |
275 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2") | 275 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2") |
276 | bitbake("core-image-sato -S none") | 276 | bitbake("core-image-weston -S none") |
277 | 277 | ||
278 | def get_files(d): | 278 | def get_files(d): |
279 | f = [] | 279 | f = [] |
280 | for root, dirs, files in os.walk(d): | 280 | for root, dirs, files in os.walk(d): |
281 | if "core-image-sato" in root: | 281 | if "core-image-weston" in root: |
282 | # SDKMACHINE changing will change | 282 | # SDKMACHINE changing will change |
283 | # do_rootfs/do_testimage/do_build stamps of images which | 283 | # do_rootfs/do_testimage/do_build stamps of images which |
284 | # is safe to ignore. | 284 | # is safe to ignore. |
@@ -306,7 +306,7 @@ NATIVELSBSTRING = \"DistroA\" | |||
306 | BB_SIGNATURE_HANDLER = "OEBasicHash" | 306 | BB_SIGNATURE_HANDLER = "OEBasicHash" |
307 | """) | 307 | """) |
308 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash") | 308 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash") |
309 | bitbake("core-image-sato -S none") | 309 | bitbake("core-image-weston -S none") |
310 | self.write_config(""" | 310 | self.write_config(""" |
311 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" | 311 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" |
312 | TCLIBCAPPEND = \"\" | 312 | TCLIBCAPPEND = \"\" |
@@ -314,7 +314,7 @@ NATIVELSBSTRING = \"DistroB\" | |||
314 | BB_SIGNATURE_HANDLER = "OEBasicHash" | 314 | BB_SIGNATURE_HANDLER = "OEBasicHash" |
315 | """) | 315 | """) |
316 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2") | 316 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2") |
317 | bitbake("core-image-sato -S none") | 317 | bitbake("core-image-weston -S none") |
318 | 318 | ||
319 | def get_files(d): | 319 | def get_files(d): |
320 | f = [] | 320 | f = [] |