summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-20 10:58:45 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-20 10:58:45 +0000
commit9b2acbd47f5f7ed61cbff2558494c911432cd024 (patch)
tree5426cd7ec93257d2e5e024414cad9146cdf3c572 /classes/package.bbclass
parent95c3f2b582226e999784e17be341ecb2aae28016 (diff)
package.bbclass: Add PN to list of package variables emitted in pkgdata (from poky)
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 3177965b18..eb43856c55 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -490,6 +490,8 @@ python emit_pkgdata() {
for pkg in packages.split():
subdata_file = pkgdatadir + "/runtime/%s" % pkg
sf = open(subdata_file, 'w')
+ write_if_exists(sf, pkg, 'PN')
+ write_if_exists(sf, pkg, 'PR')
write_if_exists(sf, pkg, 'DESCRIPTION')
write_if_exists(sf, pkg, 'RDEPENDS')
write_if_exists(sf, pkg, 'RPROVIDES')
@@ -497,7 +499,6 @@ python emit_pkgdata() {
write_if_exists(sf, pkg, 'RSUGGESTS')
write_if_exists(sf, pkg, 'RREPLACES')
write_if_exists(sf, pkg, 'RCONFLICTS')
- write_if_exists(sf, pkg, 'PR')
write_if_exists(sf, pkg, 'PKG')
write_if_exists(sf, pkg, 'ALLOW_EMPTY')
write_if_exists(sf, pkg, 'FILES')