aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-13 14:21:54 +0100
committerChris Larson <clarson@kergoth.com>2010-08-09 19:03:33 -0700
commit9e081f251e1b5ee653166615374176fd7159c2f3 (patch)
tree844b69fff1e5b4be2cd15b2f159fa9dfb7fa318a
parent103a9e37707268afe6c0c1f1a668c3c02f2fee0e (diff)
downloadopenembedded-9e081f251e1b5ee653166615374176fd7159c2f3.zip
openembedded-9e081f251e1b5ee653166615374176fd7159c2f3.tar.gz
openembedded-9e081f251e1b5ee653166615374176fd7159c2f3.tar.bz2
packaged-staging.bbclass: BSD doesn't support cp -d so change cp -dPR to cp -pPR
-rw-r--r--classes/packaged-staging.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index 8847243..4d33c26 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -233,7 +233,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.utils.unlockfile(lf)
@@ -479,7 +479,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)