Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-11 Thread Hans Beckérus
On Sat, Nov 9, 2013 at 11:58 PM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Sat, 2013-11-09 at 21:38 +0100, Andrea Adami wrote: On Fri, Nov 8, 2013 at 6:23 PM, Hart, Darren darren.h...@intel.com wrote: On Fri, 2013-11-08 at 16:50 +, Richard Purdie wrote: On Fri,

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-11 Thread Richard Purdie
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

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-11 Thread Richard Purdie
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

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-11 Thread Hans Beckérus
On Mon, Nov 11, 2013 at 10:45 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: 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

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-09 Thread Andrea Adami
On Fri, Nov 8, 2013 at 6:23 PM, Hart, Darren darren.h...@intel.com wrote: On Fri, 2013-11-08 at 16:50 +, Richard Purdie wrote: On Fri, 2013-11-08 at 10:59 -0500, Bruce Ashfield wrote: On 13-11-08 10:55 AM, Richard Purdie wrote: On Fri, 2013-11-08 at 10:41 -0500, Bruce Ashfield wrote:

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-09 Thread Richard Purdie
On Sat, 2013-11-09 at 21:38 +0100, Andrea Adami wrote: On Fri, Nov 8, 2013 at 6:23 PM, Hart, Darren darren.h...@intel.com wrote: On Fri, 2013-11-08 at 16:50 +, Richard Purdie wrote: On Fri, 2013-11-08 at 10:59 -0500, Bruce Ashfield wrote: On 13-11-08 10:55 AM, Richard Purdie wrote:

[OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-08 Thread Richard Purdie
The kernel tree is large and doesn't need to be copied. Override the default sysroot handling function to use a hardlink copying function in python. This commit also drops the copying of the /lib directory which just contains the kernel modules. We never use those in the sysroot so there is

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-08 Thread Bruce Ashfield
On 13-11-08 10:18 AM, Richard Purdie wrote: The kernel tree is large and doesn't need to be copied. Override the default sysroot handling function to use a hardlink copying function in python. This commit also drops the copying of the /lib directory which just contains the kernel modules. We

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-08 Thread Hans Beckérus
On Fri, Nov 8, 2013 at 4:41 PM, Bruce Ashfield bruce.ashfi...@windriver.com wrote: On 13-11-08 10:18 AM, Richard Purdie wrote: The kernel tree is large and doesn't need to be copied. Override the default sysroot handling function to use a hardlink copying function in python. This commit

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-08 Thread Richard Purdie
On Fri, 2013-11-08 at 10:41 -0500, Bruce Ashfield wrote: On 13-11-08 10:18 AM, Richard Purdie wrote: The kernel tree is large and doesn't need to be copied. Override the default sysroot handling function to use a hardlink copying function in python. This commit also drops the copying of

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-08 Thread Bruce Ashfield
On 13-11-08 10:55 AM, Richard Purdie wrote: On Fri, 2013-11-08 at 10:41 -0500, Bruce Ashfield wrote: On 13-11-08 10:18 AM, Richard Purdie wrote: The kernel tree is large and doesn't need to be copied. Override the default sysroot handling function to use a hardlink copying function in python.

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-08 Thread Richard Purdie
On Fri, 2013-11-08 at 10:59 -0500, Bruce Ashfield wrote: On 13-11-08 10:55 AM, Richard Purdie wrote: On Fri, 2013-11-08 at 10:41 -0500, Bruce Ashfield wrote: On 13-11-08 10:18 AM, Richard Purdie wrote: The kernel tree is large and doesn't need to be copied. Override the default sysroot

Re: [OE-core] [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed

2013-11-08 Thread Hart, Darren
On Fri, 2013-11-08 at 16:50 +, Richard Purdie wrote: On Fri, 2013-11-08 at 10:59 -0500, Bruce Ashfield wrote: On 13-11-08 10:55 AM, Richard Purdie wrote: On Fri, 2013-11-08 at 10:41 -0500, Bruce Ashfield wrote: On 13-11-08 10:18 AM, Richard Purdie wrote: The kernel tree is large