[oe-commits] Koen Kooi : packaged-staging.bbclass: BSD doesn' t support cp -d so change cp -dPR to cp -pPR
git version control
git at git.openembedded.org
Thu Oct 21 02:01:31 UTC 2010
Module: openembedded.git
Branch: darwin
Commit: 8c6b1c943e438864a2b4d5592274912ea9666221
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8c6b1c943e438864a2b4d5592274912ea9666221
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Nov 13 14:21:54 2008 +0100
packaged-staging.bbclass: BSD doesn't support cp -d so change cp -dPR to cp -pPR
---
classes/packaged-staging.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index d0aaea1..e968e4d 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -247,7 +247,7 @@ python packagestage_scenefunc () {
#
# Copy the stamp files into the main stamps directoy
#
- cmd = bb.data.expand("cp -dpR ${WORKDIR}/tstage/stamps/* ${TMPDIR}/stamps/", d)
+ cmd = bb.data.expand("cp -PpR ${WORKDIR}/tstage/stamps/* ${TMPDIR}/stamps/", d)
try:
ret = oe_run(d, cmd)
except RuntimeError:
@@ -495,7 +495,7 @@ python do_package_stage () {
bb.mkdirhier(destdir)
# We need to include the package_stage stamp in the staging package so create one
bb.build.make_stamp("do_package_stage", d)
- oe_run(d, "cp -dpR %s.do_* %s/" % (stampfn, destdir))
+ oe_run(d, "cp -PpR %s.do_* %s/" % (stampfn, destdir))
pstage_set_pkgmanager(d)
bb.build.exec_func("staging_helper", d)
More information about the Openembedded-commits
mailing list