From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mail.openembedded.org (Postfix) with ESMTP id 5B9236D775 for ; Fri, 8 Nov 2013 15:55:59 +0000 (UTC) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id rA8Fsm84026446; Fri, 8 Nov 2013 15:55:48 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3QqREj7_ntkU; Fri, 8 Nov 2013 15:55:48 +0000 (GMT) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id rA8FthfO026537 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Fri, 8 Nov 2013 15:55:44 GMT Message-ID: <1383926139.2345.7.camel@ted> From: Richard Purdie To: Bruce Ashfield Date: Fri, 08 Nov 2013 15:55:39 +0000 In-Reply-To: <527D0624.3060407@windriver.com> References: <1383923880.2345.4.camel@ted> <527D0624.3060407@windriver.com> X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Cc: "Hart, Darren" , openembedded-core Subject: Re: [PATCH] kernel: Use hardlinks for do_populate_sysroot for speed X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2013 15:56:00 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 the /lib directory which > > just contains the kernel modules. We never use those in the sysroot > > so there is little point in carrying those around. > > > > For linux-yocto this takes the do_populate_sysroot time 24s -> 14s. > > Fantastic. One less thing for me to dig into later. I thought this > was already in place, so I'm pleasantly surprised that there was a > time savings to be found! I was somewhat surprised too. We still need to optimise what we install in do_install since that is where significant gains can still be made. Cheers, Richard