[OE-core] [PATCH] testimage: regenerate rootfs before testing

Cristian Iorga cristian.iorga at intel.com
Thu Apr 23 06:39:08 UTC 2015


While starting a test with testimage, changes
of the image under test don't trigger a rebuild,
so fix that.

Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
---
 meta/classes/testimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index dc163c7..ce7f5c1 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -53,7 +53,7 @@ TESTIMAGELOCK_qemuall = ""
 python do_testimage() {
     testimage_main(d)
 }
-addtask testimage
+addtask testimage after do_rootfs
 do_testimage[nostamp] = "1"
 do_testimage[depends] += "${TESTIMAGEDEPENDS}"
 do_testimage[lockfiles] += "${TESTIMAGELOCK}"
-- 
2.1.0




More information about the Openembedded-core mailing list