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 14:25:44 +0100 |
commit | f61bcae0926a1ad79032119cc5656c0e862b13af (patch) | |
tree | d80b88640e50ee5876d1dade06a726f451457fb6 | |
parent | 1e95fc5419a131a5e4091b8ff01639de99284399 (diff) | |
download | openembedded-core-f61bcae0926a1ad79032119cc5656c0e862b13af.tar.gz openembedded-core-f61bcae0926a1ad79032119cc5656c0e862b13af.tar.bz2 openembedded-core-f61bcae0926a1ad79032119cc5656c0e862b13af.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () { do_rootfs[dirs] = "${TOPDIR}" do_rootfs[cleandirs] += "${S} ${IMGDEPLOYDIR}" do_rootfs[umask] = "022" -addtask rootfs before do_build after do_prepare_recipe_sysroot +addtask rootfs after do_prepare_recipe_sysroot fakeroot python do_image () { from oe.utils import execute_pre_post_process @@ -272,7 +272,7 @@ fakeroot python do_image () { } do_image[dirs] = "${TOPDIR}" do_image[umask] = "022" -addtask do_image after do_rootfs before do_build +addtask do_image after do_rootfs fakeroot python do_image_complete () { from oe.utils import execute_pre_post_process |