[oe-commits] [openembedded-core] 02/06: archiver.bbclass: Make do_deploy_archives a recursive dependency

git at git.openembedded.org git at git.openembedded.org
Mon Mar 9 22:52:25 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit fe54c05325d1617d4988c68b9735d211bc71b494
Author: Paul Barker <pbarker at konsulko.com>
AuthorDate: Mon Mar 9 14:21:36 2020 +0000

    archiver.bbclass: Make do_deploy_archives a recursive dependency
    
    To ensure that archives are captured for all dependencies of a typical
    bitbake build we add do_deploy_archives to the list of recursive
    dependencies of do_build. Without this, archives may be missed for
    recipes such as gcc-source which do not create packages or populate a
    sysroot.
    
    do_deploy_archives is also added to the recursive dependencies of
    do_populate_sdk so that all sources required for an SDK can be captured.
    
    Signed-off-by: Paul Barker <pbarker at konsulko.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/archiver.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index fef7ad4..c11d36d 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -604,7 +604,9 @@ addtask do_ar_configured after do_unpack_and_patch
 addtask do_ar_mirror after do_fetch
 addtask do_dumpdata
 addtask do_ar_recipe
-addtask do_deploy_archives before do_build
+addtask do_deploy_archives
+do_build[recrdeptask] += "do_deploy_archives"
+do_populate_sdk[recrdeptask] += "do_deploy_archives"
 
 python () {
     # Add tasks in the correct order, specifically for linux-yocto to avoid race condition.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list