All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [Darwin] cp -d fix in packaged-staging.bbclass
  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"
  0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2009-04-14 17:40 UTC (permalink / raw)
  To: openembedded-devel

On 14-04-09 19:01, Didier "Ptitjes" wrote:
> 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>


Ehm.... That looks suspicously like 
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=koen/darwin-host-fixes&id=9099f0865a74dbefa7cc7b377f8aac60a0458515

If someone wants to have a look at 
http://cgit.openembedded.net/cgit.cgi?url=openembedded/log/&h=koen/darwin-host-fixes 
and cherrypick fixes to .dev/stable, great!

regards,

Koen




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Darwin] cp -d fix in packaged-staging.bbclass
  2009-04-14 17:40 ` Koen Kooi
@ 2009-04-14 20:55   ` Didier "Ptitjes"
  0 siblings, 0 replies; 3+ messages in thread
From: Didier "Ptitjes" @ 2009-04-14 20:55 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

Koen Kooi wrote:
> On 14-04-09 19:01, Didier "Ptitjes" wrote:
>> 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>
> 
> 
> Ehm.... That looks suspicously like 
> http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=koen/darwin-host-fixes&id=9099f0865a74dbefa7cc7b377f8aac60a0458515 

Err! Sorry I missed it.
Didier.




^ permalink raw reply	[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.