[oe-commits] [openembedded-core] 05/09: image: Make do_image_qa a dummy sstate task to match do_image_complete

git at git.openembedded.org git at git.openembedded.org
Mon Jul 31 14:14:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit ca61f5437cb2421a67f002785e644ba215e04aaf
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Jul 30 16:13:37 2017 +0100

    image: Make do_image_qa a dummy sstate task to match do_image_complete
    
    Similar to do_image_complete, make do_image_qa a dummy sstate task
    so that rm_work doesn't cause image generation to repeat on every
    new build command.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/image.bbclass | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 696aacd..2c1dc81 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -324,6 +324,15 @@ fakeroot python do_image_qa () {
 }
 addtask do_image_qa after do_image_complete before do_build
 
+SSTATETASKS += "do_image_qa"
+SSTATE_SKIP_CREATION_task-image-qa = '1'
+do_image_qa[sstate-inputdirs] = ""
+do_image_qa[sstate-outputdirs] = ""
+python do_image_qa_setscene () {
+    sstate_setscene(d)
+}
+addtask do_image_qa_setscene
+
 def setup_debugfs_variables(d):
     d.appendVar('IMAGE_ROOTFS', '-dbg')
     d.appendVar('IMAGE_LINK_NAME', '-dbg')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list