[OE-core] [PATCH] classes/image: fix do_image_qa dependencies

Tomasz Meresiński tomasz.meresinski at comarch.pl
Tue Sep 19 10:36:53 UTC 2017


After do_image_complete IMAGE_ROOTFS directory is empty so qa checks do not work

Signed-off-by: Tomasz Meresiński <tomasz.meresinski at comarch.pl>
---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3639aa44f4..7059f947ed 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -320,7 +320,7 @@ fakeroot python do_image_qa () {
         imgname = d.getVar('IMAGE_NAME')
         bb.fatal("QA errors found whilst validating image: %s\n%s" % (imgname, qamsg))
 }
-addtask do_image_qa after do_image_complete before do_build
+addtask do_image_qa after do_image before do_image_complete

 SSTATETASKS += "do_image_qa"
 SSTATE_SKIP_CREATION_task-image-qa = '1'
--
2.12.3




More information about the Openembedded-core mailing list