[OE-core] [RFC PATCH 1/2] image.bbclass, kernel.bbclass: create warning file about deleting deploydir files

Phil Blundell philb at gnu.org
Tue Aug 23 10:37:20 UTC 2011


On Tue, 2011-08-23 at 10:32 +0100, Paul Eggleton wrote:
> On Tuesday 23 August 2011 10:22:12 Phil Blundell wrote:
> > Irrespective of whether it happens to work or not on some or other
> > distro, "cp -n" isn't POSIX and we shouldn't be relying on it.
> > 
> > I can't really see why the -n option is needed here anyway.  It looks to
> > me like it could just be removed with no ill effects.
> 
> Sorry, I wasn't aware that it was a non-standard option. I'll post a new 
> version with it removed.

Yeah, POSIX cp only understands quite a restricted set of options.  It
supports -f, -i, -p, -R, plus -H, -L and -P in newer versions (and the
obsolescent -r).  Anything beyond that is not guaranteed.

p.





More information about the Openembedded-core mailing list