From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5528 invoked by uid 1002); 29 Oct 2003 23:13:19 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 16593 invoked from network); 29 Oct 2003 23:13:19 -0000 From: Vano D Reply-To: gentoo-dev@europeansoftware.com To: gentoo-dev@gentoo.org In-Reply-To: <1067461324.30620.1.camel@vertex.bastion.free-bsd.org> References: <1067440004.4911.6.camel@gentoo.europeansoftware.com> <1067443325.4944.17.camel@gentoo.europeansoftware.com> <200310290931.19235.cbrewer@stealthaccess.net> <1067459090.4945.23.camel@gentoo.europeansoftware.com> <1067461324.30620.1.camel@vertex.bastion.free-bsd.org> Content-Type: text/plain Message-Id: <1067469209.4940.31.camel@gentoo.europeansoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 30 Oct 2003 00:13:29 +0100 Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] Re: 'submerge' was Re: Re: [gentoo-dev] Gentoo Embedded X-Archives-Salt: 91fb409f-a0e3-4adf-810d-47c9a8c51f39 X-Archives-Hash: d105ded44b70642a5bdc1d6236c28ba8 On Wed, 2003-10-29 at 22:02, Christian Gut wrote: > On Mi, 2003-10-29 at 21:24, Vano D wrote: > > But anyhow.. I am positive it can be made even smaller, by using less > > binaries, cutting down on the baselayout or using a custom one > > (slackware rc scripts come to mind) the reason for this is not that the > > scripts take a lot of space, but they use some binaries and in my case > > instead of I copy the binaries themselves I emerge the whole package the > > binaries belong to. And course last but not least, using uglibc should > > shrink the thing even more (but then incompatibility issues might arise > > with some packages...) > > How did you build this thing, just a simple chroot env and unpacking the > precompiled packages? Then kernel and adding it to the bootloader or > how? Just as you said it. But ofcourse the chroot is a clean empty dir. Also you have to manually symlink the busybox and tinylogin (i.e. if you do "ln -s /bin/busybox /bin/ls" when you run ls it runs "busybox ls". Busybox is intelligent enough to know that it should run its ls implementation. So you have to manually create all those symlinks) and also change inittab to run getty instead of agetty (getty is a symlink to tinylogin). Thats about it IIRC. Can't be easier. Cheers, Vano -- gentoo-dev@gentoo.org mailing list