[oe-commits] Tom Rini : packaged-staging: When taking ipks use PKGV not PV

git version control git at git.openembedded.org
Mon Sep 13 16:01:01 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 382a912f9bc71c535a3174fb39e56cff5dd760ab
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=382a912f9bc71c535a3174fb39e56cff5dd760ab

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Sep  8 11:32:10 2010 -0700

packaged-staging: When taking ipks use PKGV not PV

This fixes a problem where ncurses 5.7 (and readline) wasn't having
ipks stored.  package_ipk.bbclass uses PKGV not PV which means
packaged-staging should too.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 classes/packaged-staging.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index 377b8de..58d336a 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -442,7 +442,7 @@ python do_package_stage () {
             if not packaged(pkg, d):
                 continue
             if bb.data.inherits_class('package_ipk', d):
-                srcname = bb.data.expand(pkgname + "_${PV}-" + pr + "${DISTRO_PR}" + "_" + arch + ".ipk", d)
+                srcname = bb.data.expand(pkgname + "_${PKGV}-" + pr + "${DISTRO_PR}" + "_" + arch + ".ipk", d)
                 srcfile = bb.data.expand("${DEPLOY_DIR_IPK}/" + arch + "/" + srcname, d)
                 if os.path.exists(srcfile):
                     destpath = ipkpath + "/" + arch + "/"





More information about the Openembedded-commits mailing list