[PATCH] store --help messages in compressed form. saves 35k

Rob Landley rob at landley.net
Thu Apr 27 23:36:08 UTC 2006


On Wednesday 26 April 2006 5:46 am, Denis Vlasenko wrote:
> On Wednesday 05 April 2006 22:33, Rob Landley wrote:
> > So if I build a really small busybox with only one or two applets, it has
> > to suck in the decompression code in order to give me any help text?  Can
> > this be a config option please?  (It's also nice to have it as a config
> > option if they're running from squashfs or cramfs, since compressing it
> > twice gives little benefit.)
> >
> > Your patch includes archival/libunarchive/Makefile.in.orig and probably
> > shouldn't.
> >
> > Regarding hexdump.c, this works for me back on Red Hat 9:
> > cat data | od -t x1 | sed -e 's/^[^ ]*//' -e 's/ \(..\)/"\\0x\1",/g'
>
> All your concerns are addressed in the updated patch.
> --help text packing is now a separate config option.
>
> Please apply.

Very nice.

Applied.

Thanks,

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list