From: Richard Purdie Date: Wed, 16 Sep 2009 23:57:05 +0000 (+0100) Subject: packaged-staging.bbclass Use libdir_native for opkg paths in directory creation X-Git-Tag: 2011-1~6975 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=00127b3744a10696dd8f554fd3bd60bfc06d198c;p=openembedded-core.git packaged-staging.bbclass Use libdir_native for opkg paths in directory creation Signed-off-by: Richard Purdie --- diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass index 68aad800a2..4246d04b51 100644 --- a/meta/classes/packaged-staging.bbclass +++ b/meta/classes/packaged-staging.bbclass @@ -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: