diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-30 16:04:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-31 15:13:31 +0100 |
commit | 7b37b0ac071e84bb369266efd12976c1637a2917 (patch) | |
tree | e5be382fec63a6d6473d1115d00cae2499355574 /meta/classes/image.bbclass | |
parent | 0fcf2247b372bb6267e3a6b2598ce552012cd391 (diff) | |
download | poky-7b37b0ac071e84bb369266efd12976c1637a2917.tar.gz |
image: Drop before do_build from do_rootfs and do_image
do_image_complete has the do_build dependency, these other two tasks
don't need it. If this is present, it complicates the dependency tree
and convinces rm_work that the tasks need to rerun even if they
already did since the stamps are removed.
Drop the unneeded dependency to help resolve this issue.
(From OE-Core rev: f61bcae0926a1ad79032119cc5656c0e862b13af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 40bd61480e..0885fdb505 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -261,7 +261,7 @@ fakeroot python do_rootfs () { | |||
261 | do_rootfs[dirs] = "${TOPDIR}" | 261 | do_rootfs[dirs] = "${TOPDIR}" |
262 | do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}" | 262 | do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}" |
263 | do_rootfs[umask] = "022" | 263 | do_rootfs[umask] = "022" |
264 | addtask rootfs before do_build after do_prepare_recipe_sysroot | 264 | addtask rootfs after do_prepare_recipe_sysroot |
265 | 265 | ||
266 | fakeroot python do_image () { | 266 | fakeroot python do_image () { |
267 | from oe.utils import execute_pre_post_process | 267 | from oe.utils import execute_pre_post_process |
@@ -272,7 +272,7 @@ fakeroot python do_image () { | |||
272 | } | 272 | } |
273 | do_image[dirs] = "${TOPDIR}" | 273 | do_image[dirs] = "${TOPDIR}" |
274 | do_image[umask] = "022" | 274 | do_image[umask] = "022" |
275 | addtask do_image after do_rootfs before do_build | 275 | addtask do_image after do_rootfs |
276 | 276 | ||
277 | fakeroot python do_image_complete () { | 277 | fakeroot python do_image_complete () { |
278 | from oe.utils import execute_pre_post_process | 278 | from oe.utils import execute_pre_post_process |