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 -- [email protected] mailing list
