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

Rob Landley rob at landley.net
Fri Apr 28 19:23:36 UTC 2006


On Friday 28 April 2006 11:08 am, Bernhard Fischer wrote:
> On Thu, Apr 27, 2006 at 07:36:08PM -0400, Rob Landley wrote:
> >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.
>
> Rob, I ment to test his patch before applying it, but you beat me to it..
>
> Any reason why you didn't apply the cleaned-up version vda sent later in
> this thread?

Between CELF and Penguicon, I fell about a week behind on the busybox mailing 
list.  I'm catching up, and simply haven't gotten to the later version yet...

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list