public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] oeqa wic.py: clean image build dir before rebuild in test_permissions()
@ 2025-04-07 11:09 Mikko Rapeli
  2025-04-14 20:56 ` [OE-core] " Trevor Woerner
  2025-04-24 10:38 ` Richard Purdie
  0 siblings, 2 replies; 4+ messages in thread
From: Mikko Rapeli @ 2025-04-07 11:09 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mikko Rapeli

The test builds images using wic and then with bitbake
and compares results. This fails at least on aarch64
build machine and multiple target machines due to
pseudo errors. Fix by cleaning the build recipe
build directory before rebuild.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 meta/lib/oeqa/selftest/cases/wic.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index 4f5d43b5ee..55c655cd6d 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -674,6 +674,7 @@ part /etc --source rootfs --fstype=ext4 --change-directory=etc
 
                 config = 'IMAGE_FSTYPES += "wic"\nWKS_FILE = "%s"\n' % wks_file
                 self.append_config(config)
+                bitbake('-c clean core-image-minimal')
                 bitbake('core-image-minimal')
                 tmpdir = os.path.join(get_bb_var('WORKDIR', 'core-image-minimal'),'build-wic')
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-24 10:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-07 11:09 [PATCH] oeqa wic.py: clean image build dir before rebuild in test_permissions() Mikko Rapeli
2025-04-14 20:56 ` [OE-core] " Trevor Woerner
2025-04-15  5:07   ` Mikko Rapeli
2025-04-24 10:38 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox