]> code.ossystems Code Review - openembedded-core.git/commitdiff
packaged-staging.bbclass Use libdir_native for opkg paths in directory creation
authorRichard Purdie <rpurdie@linux.intel.com>
Wed, 16 Sep 2009 23:57:05 +0000 (00:57 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 17 Sep 2009 21:25:23 +0000 (22:25 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/packaged-staging.bbclass

index 68aad800a23326e1047c99a053048008f59e83a9..4246d04b5157c93552a0f3970ee2d3d8de60a438 100644 (file)
@@ -210,7 +210,7 @@ python packagestage_scenefunc () {
         #
         # Install the staging package somewhere temporarily so we can extract the stamp files
         #
-        bb.mkdirhier(bb.data.expand("${WORKDIR}/tstage/${libdir}/opkg/info/ ", d))
+        bb.mkdirhier(bb.data.expand("${WORKDIR}/tstage/${libdir_native}/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: