diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-23 21:56:21 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-23 21:56:21 +0000 |
commit | 9ce619897cc3a4551e03ad268812475a32f76fb2 (patch) | |
tree | 00f3255934535b9e6ea5bd972b644d64f93d5827 /meta | |
parent | ae04c7f11df7a48b371238a6ea96b2dadb5386ca (diff) | |
download | poky-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.bbclass | 4 |
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 | # |
14 | PSTAGE_PKGVERSION = "${PV}-${PR}" | 14 | PSTAGE_PKGVERSION = "${PV}-${PR}" |
15 | PSTAGE_PKGARCH = "${BUILD_SYS}" | 15 | PSTAGE_PKGARCH = "${BUILD_SYS}" |
16 | PSTAGE_EXTRAPATH ?= "" | 16 | PSTAGE_EXTRAPAcTH ?= "" |
17 | PSTAGE_PKGPATH = "${DISTRO}/${OELAYOUT_ABI}${PSTAGE_EXTRAPATH}" | 17 | PSTAGE_PKGPATH = "${DISTRO}/${OELAYOUT_ABI}${PSTAGE_EXTRAPATH}" |
18 | PSTAGE_PKGPN = "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}" | 18 | PSTAGE_PKGPN = "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}" |
19 | PSTAGE_PKGNAME = "${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk" | 19 | PSTAGE_PKGNAME = "${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk" |
@@ -319,7 +319,7 @@ populate_sysroot_postamble () { | |||
319 | packagedstaging_fastpath () { | 319 | packagedstaging_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 |