Patchwork [8/8] package.bbclass: Adding license collection

login
register
mail settings
Submitter Elizabeth Flanagan
Date Dec. 7, 2011, 7:34 p.m.
Message ID <935576f8cd517021efcee0eaddf287b01ceb5cb5.1323286080.git.elizabeth.flanagan@intel.com>
Download mbox | patch
Permalink /patch/16421/
State Accepted
Commit 60f0b866b4b7c4aa337a2ff764455741a73665da
Headers show

Comments

Elizabeth Flanagan - Dec. 7, 2011, 7:34 p.m.
From: Elizabeth Flanagan <elizabeth.flanagan@intel.com>

emite_package_data needs to have LICENSE, as pkgdata is as an
audit of licenses collected during do_populate_license.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
---
 meta/classes/package.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 256cdc1..39c1d4b 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1065,6 +1065,7 @@  python emit_pkgdata() {
 		write_if_exists(sf, pkg, 'PR')
 		write_if_exists(sf, pkg, 'PKGV')
 		write_if_exists(sf, pkg, 'PKGR')
+		write_if_exists(sf, pkg, 'LICENSE')
 		write_if_exists(sf, pkg, 'DESCRIPTION')
 		write_if_exists(sf, pkg, 'SUMMARY')
 		write_if_exists(sf, pkg, 'RDEPENDS')