packaged-staging: When taking ipks use PKGV not PV
authorTom Rini <tom_rini@mentor.com>
Wed, 8 Sep 2010 18:32:10 +0000 (11:32 -0700)
committerTom Rini <tom_rini@mentor.com>
Mon, 13 Sep 2010 16:00:41 +0000 (09:00 -0700)
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@mentor.com>
classes/packaged-staging.bbclass

index 377b8de..58d336a 100644 (file)
@@ -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 + "/"