* [PATCH] license: We need to run this task before do_build, there is no dependency on do_package
@ 2012-11-16 18:26 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-11-16 18:26 UTC (permalink / raw)
To: openembedded-core
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).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index a66933f..7e1c23f 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -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}"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-16 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 18:26 [PATCH] license: We need to run this task before do_build, there is no dependency on do_package Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox