[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-commits
Subject:    [oe-commits] [openembedded-core] 05/09: image: Make do_image_qa a dummy sstate task to match do_imag
From:       git () git ! openembedded ! org
Date:       2017-07-30 15:24:25
Message-ID: 20170730152421.5861D234F57 () git ! openembedded ! org
[Download RAW message or body]

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

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

commit 3cb9f72a069eab973d1c8d52331e215b11cced9b
Author: Richard Purdie <richard.purdie@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@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.
-- 
_______________________________________________
Openembedded-commits mailing list
Openembedded-commits@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic