* [Darwin] cp -d fix in packaged-staging.bbclass
@ 2009-04-14 17:01 Didier "Ptitjes"
2009-04-14 17:40 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Didier "Ptitjes" @ 2009-04-14 17:01 UTC (permalink / raw)
To: openembedded-devel
Fix thanks to kergoth.
From cce22835b4205649a61eb32dd41cd4f991190c85 Mon Sep 17 00:00:00 2001
From: Didier Villevalois <didier@didier.local>
Date: Tue, 14 Apr 2009 17:51:57 +0200
Subject: [PATCH] packaged-staging.bbclass: BSD doesn't support cp -d, so
change to -P
Signed-off-by: Didier Villevalois <didier@didier.local>
---
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)
--
1.6.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-14 20:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14 17:01 [Darwin] cp -d fix in packaged-staging.bbclass Didier "Ptitjes"
2009-04-14 17:40 ` Koen Kooi
2009-04-14 20:55 ` Didier "Ptitjes"
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.