[PATCH] store --help messages in compressed form. saves 35k
Denis Vlasenko
vda at ilport.com.ua
Wed Apr 26 09:46:38 UTC 2006
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.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compressed_usage_bz_3.patch
Type: text/x-diff
Size: 5692 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060426/c77913b1/attachment.bin
More information about the busybox
mailing list