From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FvZ26-0007pd-HY for garchives@archives.gentoo.org; Wed, 28 Jun 2006 12:20:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5SCIwBk004631; Wed, 28 Jun 2006 12:18:58 GMT Received: from mail43.e.nsc.no (mail43.e.nsc.no [193.213.115.43]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5SCIuYn009232 for ; Wed, 28 Jun 2006 12:18:57 GMT Received: from mail.nor.wtbts.org ([213.234.126.131]) by mail43.nsc.no (8.13.6/8.13.5) with ESMTP id k5SCIu7K002341 for ; Wed, 28 Jun 2006 14:18:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id E2F053FAE8 for ; Wed, 28 Jun 2006 14:18:55 +0200 (CEST) Received: from mail.nor.wtbts.org ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00838-06 for ; Wed, 28 Jun 2006 14:18:54 +0200 (CEST) Received: from nc.nor.wtbts.org (unknown [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id D11F53FAD7 for ; Wed, 28 Jun 2006 14:18:54 +0200 (CEST) Subject: Re: [gentoo-embedded] ADSL router + firewall + PoPToP.... From: Natanael Copa To: gentoo-embedded@lists.gentoo.org In-Reply-To: <1151495218.1565.9.camel@localhost> References: <20c6f18e0606270550ld60f95endf619a6b8939aa06@mail.gmail.com> <44A15DC5.30101@gentoo.org> <20c6f18e0606271003g6b0e18c1x7a6e7dfd64295e18@mail.gmail.com> <1151455887.21498.6.camel@localhost> <20c6f18e0606280153h64d1fbc6p8187ae840e6dc2fe@mail.gmail.com> <1151485797.28440.51.camel@localhost> <1151495218.1565.9.camel@localhost> Content-Type: text/plain Date: Wed, 28 Jun 2006 14:18:54 +0200 Message-Id: <1151497134.28440.70.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at wtbts.no X-Archives-Salt: 10929389-0b6f-41f2-9ec1-b64d3862fbfc X-Archives-Hash: 74835e12b9e8f903758de9a144c643e2 On Wed, 2006-06-28 at 07:46 -0400, Ned Ludd wrote: > On Wed, 2006-06-28 at 11:09 +0200, Natanael Copa wrote: > > On Wed, 2006-06-28 at 09:53 +0100, Marcelo Coelho wrote: > > > > no not at all. the baselayout-lite one does not depend on bash what so > > > > ever and includes pretty much no init/conf scripts. You get to hack on > > > > your own init scripts, which is a trivial task. > > > > > > Well, i have to use a different baselayout. The boot time is far too > > > long to be acceptable and there is a problem with hotplug (an error > > > appears that the firmware isn't available). But i don't know if it's > > > easier to make my init scripts or use initng. > > > > I have made a baselyaout with a stripped down version of runscript that > > will run the many init.d script from gentoo out of the box. > > > > Let me know if you are interested and I'll send you the sources > > > Does not depend on bash? no > Works with ash? :) yes :) or... I'm actually using dash currently because coldplugging takes like 3 minutes with ash and 5 seconds with dash. (its fixed in next release of busybox so I'll drop dash) > If so I think we would all be interested in moving fwd in that > direction. Feel like putting together an updated baselayout-lite ebuild? I have one already. But its designed to load binary packages to ram during boot, LEAF style. rsync://tanael.org/alpine-portage/sys-apps/baselayout-alpine/ You can probably reuse parts of it. The source package is here: http://tanael.org/alpine/baselayout-alpine/baselayout-alpine-0.9.6.tar.gz I kind of immitate runlevels, (using rc0.d, rc1.d etc) but the big difference from normal sysv is that *all* runlevels or "boot stages" are executed. I had to patch some of the init.d scripts. Typically it was replacing: if [ expr && expr ] ... with: if [ expr ] && [ expr ] ... If we could get the init.d script writers to try to not be too bashish, it would be great. If there is interrest I could dump my patches somwhere. If you want to see it in action, try: http://tanael.org/alpine/v1.1/iso/alpine-1.1.3_beta8-060622-i386.iso Its 125Mb -- gentoo-embedded@gentoo.org mailing list