[OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed
richard.purdie at linuxfoundation.org
Mon Nov 11 09:35:51 UTC 2013
On Mon, 2013-11-11 at 09:06 +0100, Hans Beckérus wrote:
> I am having some trouble with these patches :( The new approach is
> using the '-n' flag to the 'cp' command.
> That is not supported on our SuSE11 based system. To be honest, I do
> not know how portable '-n' is?
> Some system have it, others seems to provide '-u' instead. I guess by
> removing '-n' part of the performance gain is lost?
> Would it be possible to test for error from the 'cp' command and if it
> fails try '-u' instead (and cache the result)? Or maybe
> even better, make this configurable in local.conf (or the distro) for
> the build platforms that does not support '-n' but can
> instead fall-back to using '-u'. From what I can tell most systems
> support one or the other, but never both.
Hmm, its been in coreutils since 2009 which I guess isn't that long in
the scheme of things:
Just to double check, is cp on your system provided by coreutils or
More information about the Openembedded-core