summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:55:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:55:11 +0100
commit2684b195bc517a3bdca119361ad71cd25071fb1c (patch)
tree9f4f250cf4878e846f83ad4762d7844d7ad3cd19 /meta
parent01342695c0a8329ae83aab40aee37e8ed9338e38 (diff)
downloadopenembedded-core-2684b195bc517a3bdca119361ad71cd25071fb1c.tar.gz
openembedded-core-2684b195bc517a3bdca119361ad71cd25071fb1c.tar.bz2
openembedded-core-2684b195bc517a3bdca119361ad71cd25071fb1c.zip
packaged-staging.bbclass: Fix for packages which don't stage anything
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 4d32355f22..3dad4e8e0e 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -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"