diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-10-15 20:06:53 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-10-21 20:28:50 -0700 |
commit | caa6067f7faf33200681c75843ce2e059cb1c0b4 (patch) | |
tree | 334e6f6ab9b6dea945d192cb73afda3b30dd218f /classes/packaged-staging.bbclass | |
parent | e84f4995e257e0505fb73432cbd2a9f53cdf074b (diff) | |
download | openembedded-caa6067f7faf33200681c75843ce2e059cb1c0b4.tar.gz |
Various fixes for cp argument portability
Diffstat (limited to 'classes/packaged-staging.bbclass')
-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 d0aaea1284..e968e4d8f4 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) |