All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Blundell <pb@reciva.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] busybox: allow building when prefix is "", not	"/usr".
Date: Tue, 26 May 2009 17:01:46 +0100	[thread overview]
Message-ID: <1243353706.9080.367.camel@mill.internal.reciva.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0905252339270.6446@juice.ott.cti.com>

On Mon, 2009-05-25 at 23:40 -0400, Michael Smith wrote:
> On Mon, 25 May 2009, Michael Smith wrote:
> 
> > +	for i in ${D}${base_bindir} ${D}${base_sbindir} ${prefix:+${D}${prefix}}
> > +	do
> >  		if [ -d $i ]; then
> > -			cp -dPr $i ${D}/busybox/
> > +			cp -pPR $i ${D}/busybox/
> >  		fi
> >  	done
> 
> I missed this in the commit message: I changed cp -dPr -> -pPR to match 
> the options given a few lines above. -d implies -P, and -r/-R are 
> equivalent, so I suspected a typo. I'll resend with a new description.

Good spotting.  There seems to be more wrong with this code than that,
though: the comment above says "Move everything to /busybox...", but the
code (both before and after your change) seems to copy rather than
moving which would appear to defeat the point of this whole block of
code.  We had a discussion about this on IRC a few weeks ago but I don't
think there was any real conclusion to that.

It looks from the git history as though this stuff has been broken for a
while (since busybox_1.9.1 at least) but I didn't have the patience to
chase it back any further than that. 

Anyway, if you felt like having a go at fixing this too, that'd be
awesome. 

p.





  parent reply	other threads:[~2009-05-26 16:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26  3:35 [PATCH] busybox: allow building when prefix is "", not "/usr" Michael Smith
2009-05-26  3:40 ` Michael Smith
2009-05-26  3:44   ` Michael Smith
2009-06-03 18:44     ` Phil Blundell
2009-06-03 19:50       ` Michael Smith
2009-06-03 20:14         ` Phil Blundell
2009-06-03 20:31           ` [PATCH 1/2] busybox: let update-alternatives create all symlinks, and use INC_PR Michael Smith
2009-06-03 20:31             ` [PATCH 2/2] busybox: Split syslog initscript into busybox-syslog Michael Smith
2009-06-05 11:27             ` [PATCH 1/2] busybox: let update-alternatives create all symlinks, and use INC_PR Phil Blundell
2009-05-26 16:01   ` Phil Blundell [this message]
2009-05-27  1:53     ` [PATCH] busybox: allow building when prefix is "", not "/usr" Michael Smith
2009-05-27 10:36       ` Phil Blundell
2009-05-26 16:16 ` Phil Blundell
2009-06-05 13:11 ` Phil Blundell
2009-06-05 13:29   ` Michael Smith
2009-06-05 13:57     ` Phil Blundell
2009-06-07 20:38       ` Michael Smith
2009-06-07 20:43         ` [PATCH] busybox: Split syslog initscript into busybox-syslog Michael Smith
2009-06-07 20:43           ` [PATCH] busybox: fix udhcpc default script location when prefix is not "/usr" Michael Smith
2009-06-08  9:39             ` Phil Blundell
2009-06-08  9:52           ` [PATCH] busybox: Split syslog initscript into busybox-syslog Phil Blundell
2009-06-08 13:24             ` Michael Smith
2009-06-08 14:06               ` Phil Blundell

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=1243353706.9080.367.camel@mill.internal.reciva.com \
    --to=pb@reciva.com \
    --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 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.