diff options
author | Koen Kooi <koen@openembedded.org> | 2008-11-13 14:21:54 +0100 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2010-08-09 19:03:33 -0700 |
commit | 9e081f251e1b5ee653166615374176fd7159c2f3 (patch) | |
tree | 844b69fff1e5b4be2cd15b2f159fa9dfb7fa318a | |
parent | 103a9e37707268afe6c0c1f1a668c3c02f2fee0e (diff) | |
download | openembedded-9e081f251e1b5ee653166615374176fd7159c2f3.tar.gz |
packaged-staging.bbclass: BSD doesn't support cp -d so change cp -dPR to cp -pPR
-rw-r--r-- | 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 88472438ff..4d33c26093 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) |