From: Paul Barker Date: Mon, 9 Mar 2020 14:21:36 +0000 (+0000) Subject: archiver.bbclass: Make do_deploy_archives a recursive dependency X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11076 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd3f766ae1875dfa1f63b68e2ae5b6a950ce67ae;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 48b4913a9f0..43333a7551a 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass @@ -583,7 +583,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.