summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorElizabeth Flanagan <elizabeth.flanagan@intel.com>2011-12-07 03:06:45 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-08 15:23:58 +0000
commit60f0b866b4b7c4aa337a2ff764455741a73665da (patch)
tree5f1219c50ed06f407ee4a6f2ad498078b6023b51 /meta/classes/package.bbclass
parent3083dd70b3a9fa01fcc3cf00373b05502505996e (diff)
downloadopenembedded-core-60f0b866b4b7c4aa337a2ff764455741a73665da.tar.gz
openembedded-core-60f0b866b4b7c4aa337a2ff764455741a73665da.tar.bz2
openembedded-core-60f0b866b4b7c4aa337a2ff764455741a73665da.zip
package.bbclass: Adding license collection
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>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 256cdc15de..39c1d4bc91 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')