diff options
author | 2013-12-02 18:50:46 +0000 | |
---|---|---|
committer | 2013-12-03 12:44:47 +0000 | |
commit | 5ceed97ba02a698f1c260c3f56cdf2cc156e6d8b (patch) | |
tree | fff938f329ed57a9d0579c598ca8069b69906e11 /meta/classes | |
parent | 29615b36fca696822a715ece2afbe0bf9a43ed61 (diff) | |
download | openembedded-core-contrib-5ceed97ba02a698f1c260c3f56cdf2cc156e6d8b.tar.gz |
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 2eb970dac5..44a852f3f6 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') |