diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-30 16:13:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-31 15:13:31 +0100 |
commit | a089f7b73581f975258dfddaef9f9063ff0f8818 (patch) | |
tree | b1483317bde30a3fc25dc9d481fe9f2cd585ef7d | |
parent | c6958bbd877fd48a7d92fd43b91b0e9c6755eed9 (diff) | |
download | poky-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.bbclass | 9 |
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 | } |
325 | addtask do_image_qa after do_image_complete before do_build | 325 | addtask do_image_qa after do_image_complete before do_build |
326 | 326 | ||
327 | SSTATETASKS += "do_image_qa" | ||
328 | SSTATE_SKIP_CREATION_task-image-qa = '1' | ||
329 | do_image_qa[sstate-inputdirs] = "" | ||
330 | do_image_qa[sstate-outputdirs] = "" | ||
331 | python do_image_qa_setscene () { | ||
332 | sstate_setscene(d) | ||
333 | } | ||
334 | addtask do_image_qa_setscene | ||
335 | |||
327 | def setup_debugfs_variables(d): | 336 | def 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') |