aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-06-17 22:56:38 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-06-17 22:56:38 +0000
commit642d613a9bf7f2d2b2460a7d456383d945751a70 (patch)
tree35b6ea10db3d24be5450ffc432004aa9415c1850 /classes
parentb022bfa37bf1809e7e54f61ba16462c517fe9ed9 (diff)
downloadopenembedded-642d613a9bf7f2d2b2460a7d456383d945751a70.tar.gz
packaged-staging.bbclass: Make sure opkg's libdir exists in all cases for lockfiles (from poky)
Diffstat (limited to 'classes')
-rw-r--r--classes/packaged-staging.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index 0dd6900d77..5de5970880 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -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")