From: "Didier \"Ptitjes\"" <ptitjes@free.fr>
To: openembedded-devel@lists.openembedded.org
Subject: [Darwin] cp -d fix in packaged-staging.bbclass
Date: Tue, 14 Apr 2009 19:01:25 +0200 [thread overview]
Message-ID: <49E4C165.5070701@free.fr> (raw)
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
next reply other threads:[~2009-04-14 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 17:01 Didier "Ptitjes" [this message]
2009-04-14 17:40 ` [Darwin] cp -d fix in packaged-staging.bbclass Koen Kooi
2009-04-14 20:55 ` Didier "Ptitjes"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49E4C165.5070701@free.fr \
--to=ptitjes@free.fr \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox