From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q0bDO-0004JV-Rr for garchives@archives.gentoo.org; Fri, 18 Mar 2011 15:03:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DFB9E061F for ; Fri, 18 Mar 2011 15:03:46 +0000 (UTC) Received: from mail1.nippynetworks.com (mail1.nippynetworks.com [91.220.24.129]) by pigeon.gentoo.org (Postfix) with ESMTP id AA814E039A for ; Fri, 18 Mar 2011 14:43:41 +0000 (UTC) Received: from localhost (mail1.nippynetworks.com [127.0.0.1]) by mail1.nippynetworks.com (Postfix) with ESMTP id C95C7340312 for ; Fri, 18 Mar 2011 14:43:40 +0000 (GMT) X-Virus-Scanned: amavisd-new at nippynetworks.com Received: from mail1.nippynetworks.com ([127.0.0.1]) by localhost (mail1.nippynetworks.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Tc6v1Ed3kmeR for ; Fri, 18 Mar 2011 14:43:40 +0000 (GMT) Received: from Ed-Wildgooses-MacBook-Pro.local (office.nippynetworks.com [212.69.49.94]) (Authenticated sender: edward@wildgooses.com) by mail1.nippynetworks.com (Postfix) with ESMTPSA id 85C4A340311 for ; Fri, 18 Mar 2011 14:43:40 +0000 (GMT) Message-ID: <4D836F9C.6080203@wildgooses.com> Date: Fri, 18 Mar 2011 14:43:40 +0000 From: Ed W User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Stripping down Perl install References: <4D834506.5000605@wildgooses.com> <4D8363D1.80905@gmail.com> In-Reply-To: <4D8363D1.80905@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 389553378fde93da96b0d837b295ad1c On 18/03/2011 13:53, Arkadi Shishlov wrote: > On 03/18/11 13:41, Ed W wrote: >> Any other ideas on shrinking the install further? (I'm a bit reluctant >> to strip too many core modules at this stage until the final build is >> decided - also most only consume a few KBs...) > > If the perl workload is fixed, then 'strace -efile' the scripts and package only > necessary files. Worked for me some time ago. > This is certainly true. In my case I want to allow a little room for future customisation, so it would be good to keep the packages fairly generic. Without going into too much unnecessary detail I'm trying to use a stacked (aufs2) set of squashfs modules to implement my embedded environment. (Think Slax). So I'm trying to build a base installation which will support add-on modules that are as yet unwritten... I'm not all that constrained on storage actually. At the moment I think in terms of "a few MB saved" being useful rather than "a few hundred bytes" saved. I reckon I can keep nearly all the base perl install in just a few MB if only I can figure out how to cut down the various character translations... I guess this is best posted to the perl mailing list - anyway, hopefully interesting to some Cheers Ed W