From bffee5ea192386ffeac81e7b40e9d58a93b85db8 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Sun, 20 Jun 2021 23:38:37 +0300 Subject: busybox: disable bzip2 bzip2 adds about 8kb of size. For tiny builds it's often disabled. It's not directly used by stock OpenWrt programs. Kernel images compressed with bzip2 are also not fully supported. Signed-off-by: Sergey Ponomarev [fix \ indention] Signed-off-by: Paul Spooren --- package/base-files/files/lib/upgrade/common.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'package/base-files/files/lib/upgrade/common.sh') diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index b0a482821d..b59a404565 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -96,7 +96,6 @@ get_image() { # [ ] local magic="$(dd if="$from" bs=2 count=1 2>/dev/null | hexdump -n 2 -e '1/1 "%02x"')" case "$magic" in 1f8b) cmd="zcat";; - 425a) cmd="bzcat";; *) cmd="cat";; esac fi -- cgit v1.2.3