[oe] [PATCH] packagehistory.bbclass: use PKGV + PKGR instead of PV + PR
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Wed Aug 4 12:24:20 UTC 2010
In the final package feed there will be seen the PKGV/R values only
and the PV/R ones are meaningless. Hence, use PKGV/R for validating
the package feed.
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
classes/packagehistory.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/packagehistory.bbclass b/classes/packagehistory.bbclass
index 492bbac..762388d 100644
--- a/classes/packagehistory.bbclass
+++ b/classes/packagehistory.bbclass
@@ -35,8 +35,8 @@ python emit_pkghistory() {
for pkg in packages.split():
pe = getpkgvar(pkg, 'PE') or "0"
- pv = getpkgvar(pkg, 'PV')
- pr = getpkgvar(pkg, 'PR')
+ pv = getpkgvar(pkg, 'PKGV')
+ pr = getpkgvar(pkg, 'PKGR')
destdir = os.path.join(pkghistdir, pkg, pe, pv, pr)
#
--
1.7.2
More information about the Openembedded-devel
mailing list