[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updates to busybox



On Fri Oct 22, 1999 at 01:51:23PM +0200, Goswin Brederlow wrote:
> Erik Andersen <andersen@xmission.com> writes:
> 
> > The full sed binary is 44k, but could prove very useful indeed (with
> > sed there we could replace the grep I wrote (1k but only matches simple
> > strings) with a shell script based on sed. Of course, a reduced sed (say
> > that only supports sed -e 's/<foo>/<bar>/gp' syntax and used a subset
> > of regexps that only included say . * ^ $ \ and []) could save some
> > space...
> 
> Again, if modconf runs its enough sed. ;) There are a few cases where
> sed is used and I think several can be left out in modconf and most or 
> all are some replace options.

I'll check out modconf's sed usage.

> > whiptail is 18k, plus an additional 65k for libnewt. I suspect that
> > this is something that will not shrink down very well, so I think that
> > keeping it outside of busybox may be best.
> 
> I will try to build it static, its the only one using the extra
> libs. I think oe could save a lot when kicking out options and termcap 
> support. A plain linux console optimised version is enough to boot,
> maybe switching to B/W also saves something.

That will probably be a win... Just staticly link libnewt into whiptail,
but make sure whiptail still uses the shared libc6.

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--


Reply to: