Skip to contentSkip to conversation

license: We need to run this task before do_build, there is no dependency on do_package

PATCH New Richard Purdie 1 participant 1 message Nov 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 license: We need to run this task before do_build, there is no dependency on do_package

This change means we have more flexibility about when to schedule the license task and if it changes, we don't repackage everything (which is pointless).

---

meta/classes/license.bbclass +1 -1
index a66933f..7e1c23f 100644
@@ -6,7 +6,7 @@
 LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses"
 LICSSTATEDIR = "${WORKDIR}/license-destdir/"
 
-addtask populate_lic after do_patch before do_package
+addtask populate_lic after do_patch before do_build
 do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}"
 do_populate_lic[cleandirs] = "${LICSSTATEDIR}"