Skip to contentSkip to conversation

archiver.bbclass: add do_deploy_all_archives

PATCH New Patrick Ohly 1 participant 1 message Jul 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 archiver.bbclass: add do_deploy_all_archives

When working specifically on source archiving, it is useful to trigger that for all recipes required by something like an image recipe, without actually having to build that.

"bitbake -c deploy_all_archives <target>" does that now.

---
 meta/classes/archiver.bbclass | 7 +++++++
 1 file changed, 7 insertions(+)
meta/classes/archiver.bbclass +7 -0
index 7b5274d..d908d16 100644
@@ -374,3 +374,10 @@ addtask do_ar_configured after do_unpack_and_patch
 addtask do_dumpdata
 addtask do_ar_recipe
 addtask do_deploy_archives before do_build
+
+addtask do_deploy_all_archives after do_deploy_archives
+do_deploy_all_archives[recrdeptask] = "do_deploy_archives"
+do_deploy_all_archives[recideptask] = "do_${BB_DEFAULT_TASK}"
+do_deploy_all_archives() {
+        :
+}
Signature · 1 line
2.1.4