packaged-staging.bbclass: Fix for packages which don't stage anything

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-06-12 15:55:11 +01:00
parent 01342695c0
commit 2684b195bc
1 changed files with 2 additions and 2 deletions

View File

@ -319,8 +319,8 @@ populate_staging_postamble () {
autotools_staging_pstage () {
mkdir -p ${PSTAGE_TMPDIR_STAGE}/staging/
cp -fpPR ${WORKDIR}/temp-staging-pstage/${STAGING_DIR}/* ${PSTAGE_TMPDIR_STAGE}/staging/
cp -fpPR ${WORKDIR}/temp-staging-pstage/${STAGING_DIR}/* ${STAGING_DIR}/
cp -fpPR ${WORKDIR}/temp-staging-pstage/${STAGING_DIR}/* ${PSTAGE_TMPDIR_STAGE}/staging/ || /bin/true
cp -fpPR ${WORKDIR}/temp-staging-pstage/${STAGING_DIR}/* ${STAGING_DIR}/ || /bin/true
}
#do_populate_staging[lockfiles] = "${STAGING_DIR}/staging.lock"