[oe-commits] Paul Eggleton : classes/package: write PE and PKGE out to pkgdata
git at git.openembedded.org
git at git.openembedded.org
Tue Dec 3 12:43:38 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 5ceed97ba02a698f1c260c3f56cdf2cc156e6d8b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5ceed97ba02a698f1c260c3f56cdf2cc156e6d8b
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Mon Dec 2 18:50:46 2013 +0000
classes/package: write PE and PKGE out to pkgdata
These are important parts of the version for every package, so we should
include them in PKGDATA just as we include PV/PR/PKGV/PKGR.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/package.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 2eb970d..44a852f 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1184,8 +1184,10 @@ python emit_pkgdata() {
subdata_file = pkgdatadir + "/runtime/%s" % pkg
sf = open(subdata_file, 'w')
write_if_exists(sf, pkg, 'PN')
+ write_if_exists(sf, pkg, 'PE')
write_if_exists(sf, pkg, 'PV')
write_if_exists(sf, pkg, 'PR')
+ write_if_exists(sf, pkg, 'PKGE')
write_if_exists(sf, pkg, 'PKGV')
write_if_exists(sf, pkg, 'PKGR')
write_if_exists(sf, pkg, 'LICENSE')
More information about the Openembedded-commits
mailing list