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

Submitted by Richard Purdie on Nov. 16, 2012, 6:26 p.m. | Patch ID: 39179


Message ID 1353090404.3709.119.camel@ted
State Accepted
Commit c6c0809aa658bb1c68863a720dd119fa959c2afa
Headers show

Commit Message

Richard Purdie Nov. 16, 2012, 6:26 p.m.
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 <>

Patch hide | download patch | download mbox

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 @@ 
 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}"