[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7049/8267] image: Make do_image_qa a dummy sstate task to match do_image_complete
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 7049/8267] image: Make do_image_qa a dummy sstate task to match do_image_complete
- Date: Sun, 17 Dec 2017 05:42:09 +0000 (UTC)
commit a089f7b73581f975258dfddaef9f9063ff0f8818
Author: Richard Purdie <richard purdie linuxfoundation org>
Date: 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.
(From OE-Core rev: ca61f5437cb2421a67f002785e644ba215e04aaf)
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/classes/image.bbclass | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
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')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]