packaged-staging.bbclass: Set the extra staging paths to a sane default
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 27 Oct 2008 19:03:07 +0000 (19:03 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 27 Oct 2008 19:28:26 +0000 (19:28 +0000)
If either DISTRO_PR and OELAYOUT_ABI staging packages become superseeded
therefore add these to the default extra paths variables although distros
are free to override this if they know better.

classes/packaged-staging.bbclass

index ed94790..d6272b8 100644 (file)
@@ -13,7 +13,7 @@
 # 
 PSTAGE_PKGVERSION = "${PV}-${PR}"
 PSTAGE_PKGARCH    = "${BUILD_SYS}"
-PSTAGE_EXTRAPATH  ?= ""
+PSTAGE_EXTRAPATH  ?= "/${OELAYOUT_ABI}/${DISTRO_PR}/"
 PSTAGE_PKGPATH    = "${DISTRO}${PSTAGE_EXTRAPATH}"
 PSTAGE_PKGPN      = "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}"
 PSTAGE_PKGNAME    = "${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk"