aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2020-07-07 14:16:47 +0100
committerPetr Štetiar <ynezz@true.cz>2020-07-11 14:42:32 +0200
commiteb24a57b7ff84242bfb717ce947f9d3e1c0518ee (patch)
tree3e6a3190bec5c0248402bfdd3d82f540a907b5e6 /package
parent8e6f2c029f72d79d263290a415dc8063307a9a42 (diff)
downloadupstream-eb24a57b7ff84242bfb717ce947f9d3e1c0518ee.tar.gz
upstream-eb24a57b7ff84242bfb717ce947f9d3e1c0518ee.tar.bz2
upstream-eb24a57b7ff84242bfb717ce947f9d3e1c0518ee.zip
busybox: store applet usage messages uncompressed
The rootfs squashfs is already highly (XZ) compressed. Storing the applet messages in compressed form will increase the entropy and reduce the overall image compression ratio. Size diffs (compressed vs uncompressed): busybox (the executable): 364596 vs 384804 bytes. OpenWrt target images (the kernel image is unchanged, obviously): omnia-medkit-openwrt-mvebu-cortexa9-cznic_turris-omnia-initramfs.tar.gz: 9163597 vs 9162531 bytes (1066 bytes difference). openwrt-mvebu-cortexa9-cznic_turris-omnia-initramfs-kernel.bin: 9161688 vs 9160600 bytes (1088 bytes difference). openwrt-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img.gz: 9729550 vs 9729230 bytes (320 bytes difference). All in all, we save just a little bit over 1 kiB. As an added bonus, we also don't have to decompress the messages twice, (first from squashfs, then from the bzip2 message storage). Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> [added additional size comparision diff detaisl] Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package')
-rw-r--r--package/utils/busybox/Config-defaults.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in
index 89da7ace8d..29724041f4 100644
--- a/package/utils/busybox/Config-defaults.in
+++ b/package/utils/busybox/Config-defaults.in
@@ -24,7 +24,7 @@ config BUSYBOX_DEFAULT_FEATURE_VERBOSE_USAGE
default y
config BUSYBOX_DEFAULT_FEATURE_COMPRESS_USAGE
bool
- default y
+ default n
config BUSYBOX_DEFAULT_LFS
bool
default y