[oe-commits] Koen Kooi : packaged-staging.bbclass: BSD doesn' t support cp -d so change cp -dPR to cp -pPR
GIT User account
git at amethyst.openembedded.net
Fri Nov 28 09:03:51 UTC 2008
Module: openembedded.git
Branch: koen/darwin-host-fixes
Commit: 06f0fab6bb5a14ef09217fb49f02e0d16b6070f2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=06f0fab6bb5a14ef09217fb49f02e0d16b6070f2
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 d6272b8..741abaa 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -196,7 +196,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)
ret = os.system(cmd)
if ret != 0:
bb.fatal("Couldn't copy the staging package stamp files")
@@ -401,7 +401,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)
- os.system("cp -dpR %s.do_* %s/" % (stampfn, destdir))
+ os.system("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