[oe-commits] org.oe.dev packaged-staging.bbclass: Make sure opkg's libdir exists in all cases for lockfiles (from poky)
rpurdie commit
oe at amethyst.openembedded.net
Tue Jun 17 23:01:43 UTC 2008
packaged-staging.bbclass: Make sure opkg's libdir exists in all cases for lockfiles (from poky)
Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: 573afd795ead8ece84d45e6f9c7f3da8f9d92786
ViewMTN: http://monotone.openembedded.org/revision/info/573afd795ead8ece84d45e6f9c7f3da8f9d92786
Files:
1
classes/packaged-staging.bbclass
Diffs:
#
# mt diff -ra0bf1d98a31e62569bedeb804769e557322416e1 -r573afd795ead8ece84d45e6f9c7f3da8f9d92786
#
#
#
# patch "classes/packaged-staging.bbclass"
# from [b491ec552b4ac0b93945ab4bb2534244ac8fbed5]
# to [14d20073d82ebc1e8020080f2d3a644fa37ca552]
#
============================================================
--- classes/packaged-staging.bbclass b491ec552b4ac0b93945ab4bb2534244ac8fbed5
+++ classes/packaged-staging.bbclass 14d20073d82ebc1e8020080f2d3a644fa37ca552
@@ -190,7 +190,8 @@ python packagestage_scenefunc () {
#
# Install the staging package somewhere temporarily so we can extract the stamp files
#
- cmd = bb.data.expand("${PSTAGE_PKGMANAGER} -force-depends -f ${PSTAGE_MACHCONFIG} -o ${WORKDIR}/tstage install", d)
+ bb.mkdirhier(bb.data.expand("${WORKDIR}/tstage/${layout_libdir}/opkg/info/ ", d))
+ cmd = bb.data.expand("${PSTAGE_PKGMANAGER} -f ${PSTAGE_MACHCONFIG} -force-depends -o ${WORKDIR}/tstage install", d)
ret = os.system("PATH=\"%s\" %s %s" % (path, cmd, stagepkg))
if ret != 0:
bb.fatal("Couldn't install the staging package to a temp directory")
More information about the Openembedded-commits
mailing list