summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-23 21:56:21 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-23 21:56:21 +0000
commit9ce619897cc3a4551e03ad268812475a32f76fb2 (patch)
tree00f3255934535b9e6ea5bd972b644d64f93d5827 /meta
parentae04c7f11df7a48b371238a6ea96b2dadb5386ca (diff)
downloadpoky-9ce619897cc3a4551e03ad268812475a32f76fb2.tar.gz
packaged-staging.bbclass: Fix mkdir to actually create the destination directory
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/packaged-staging.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index 7e7c648ad9..865127a53c 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -13,7 +13,7 @@
13# 13#
14PSTAGE_PKGVERSION = "${PV}-${PR}" 14PSTAGE_PKGVERSION = "${PV}-${PR}"
15PSTAGE_PKGARCH = "${BUILD_SYS}" 15PSTAGE_PKGARCH = "${BUILD_SYS}"
16PSTAGE_EXTRAPATH ?= "" 16PSTAGE_EXTRAPAcTH ?= ""
17PSTAGE_PKGPATH = "${DISTRO}/${OELAYOUT_ABI}${PSTAGE_EXTRAPATH}" 17PSTAGE_PKGPATH = "${DISTRO}/${OELAYOUT_ABI}${PSTAGE_EXTRAPATH}"
18PSTAGE_PKGPN = "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}" 18PSTAGE_PKGPN = "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}"
19PSTAGE_PKGNAME = "${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk" 19PSTAGE_PKGNAME = "${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk"
@@ -319,7 +319,7 @@ populate_sysroot_postamble () {
319packagedstaging_fastpath () { 319packagedstaging_fastpath () {
320 if [ "$PSTAGING_ACTIVE" = "1" ]; then 320 if [ "$PSTAGING_ACTIVE" = "1" ]; then
321 mkdir -p ${PSTAGE_TMPDIR_STAGE}/sysroots/ 321 mkdir -p ${PSTAGE_TMPDIR_STAGE}/sysroots/
322 mkdir -p ${PSTAGE_TMPDIR_STAGE}/cross/ 322 mkdir -p ${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}/
323 cp -fpPR ${SYSROOT_DESTDIR}/${STAGING_DIR}/* ${PSTAGE_TMPDIR_STAGE}/sysroots/ || /bin/true 323 cp -fpPR ${SYSROOT_DESTDIR}/${STAGING_DIR}/* ${PSTAGE_TMPDIR_STAGE}/sysroots/ || /bin/true
324 cp -fpPR ${SYSROOT_DESTDIR}/${CROSS_DIR}/* ${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}/ || /bin/true 324 cp -fpPR ${SYSROOT_DESTDIR}/${CROSS_DIR}/* ${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}/ || /bin/true
325 fi 325 fi