summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-30 16:13:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-31 15:13:31 +0100
commita089f7b73581f975258dfddaef9f9063ff0f8818 (patch)
treeb1483317bde30a3fc25dc9d481fe9f2cd585ef7d
parentc6958bbd877fd48a7d92fd43b91b0e9c6755eed9 (diff)
downloadpoky-a089f7b73581f975258dfddaef9f9063ff0f8818.tar.gz
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>
-rw-r--r--meta/classes/image.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 696aacdb9a..2c1dc8145d 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -324,6 +324,15 @@ fakeroot python do_image_qa () {
324} 324}
325addtask do_image_qa after do_image_complete before do_build 325addtask do_image_qa after do_image_complete before do_build
326 326
327SSTATETASKS += "do_image_qa"
328SSTATE_SKIP_CREATION_task-image-qa = '1'
329do_image_qa[sstate-inputdirs] = ""
330do_image_qa[sstate-outputdirs] = ""
331python do_image_qa_setscene () {
332 sstate_setscene(d)
333}
334addtask do_image_qa_setscene
335
327def setup_debugfs_variables(d): 336def setup_debugfs_variables(d):
328 d.appendVar('IMAGE_ROOTFS', '-dbg') 337 d.appendVar('IMAGE_ROOTFS', '-dbg')
329 d.appendVar('IMAGE_LINK_NAME', '-dbg') 338 d.appendVar('IMAGE_LINK_NAME', '-dbg')