diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2021-06-20 23:38:37 +0300 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-06-20 14:17:49 -1000 |
commit | bffee5ea192386ffeac81e7b40e9d58a93b85db8 (patch) | |
tree | 3579cee905591595638afd1ad99a3416a177e87d /package/base-files/files | |
parent | bb2ac5a33be4c85c47f0f27e9ecb9e2c5f6c0a8f (diff) | |
download | upstream-bffee5ea192386ffeac81e7b40e9d58a93b85db8.tar.gz upstream-bffee5ea192386ffeac81e7b40e9d58a93b85db8.tar.bz2 upstream-bffee5ea192386ffeac81e7b40e9d58a93b85db8.zip |
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 <stokito@gmail.com>
[fix \ indention]
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'package/base-files/files')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 1 | ||||
-rwxr-xr-x | package/base-files/files/lib/upgrade/stage2 | 2 |
2 files changed, 1 insertions, 2 deletions
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() { # <source> [ <command> ] 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 diff --git a/package/base-files/files/lib/upgrade/stage2 b/package/base-files/files/lib/upgrade/stage2 index b00d0c079a..cb42c956c5 100755 --- a/package/base-files/files/lib/upgrade/stage2 +++ b/package/base-files/files/lib/upgrade/stage2 @@ -39,7 +39,7 @@ switch_to_ramfs() { for binary in \ /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount \ pivot_root mount_root reboot sync kill sleep \ - md5sum hexdump cat zcat bzcat dd tar \ + md5sum hexdump cat zcat dd tar \ ls basename find cp mv rm mkdir rmdir mknod touch chmod \ '[' printf wc grep awk sed cut \ mtd partx losetup mkfs.ext4 nandwrite flash_erase \ |