From: Rui Salvaterra Date: Mon, 5 Apr 2021 18:01:13 +0000 (+0100) Subject: kernel: enable lzo, zlib and zstd in ubifs X-Git-Tag: v22.03.0-rc1~2723 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=be7b5602789902692090abb10c971651887cd62b;p=openwrt%2Fstaging%2Fhauke.git kernel: enable lzo, zlib and zstd in ubifs Make sure all compression algorithms are enabled, for the time being, in order not to break sysupgrade. In the future, we'd like to disable all except zstd, as it's the best all-around performer. Signed-off-by: Rui Salvaterra --- diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index 384cf4fe9f..2cbbb6fccb 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-5.10 @@ -6295,12 +6295,14 @@ CONFIG_TTY=y # CONFIG_TYPHOON is not set # CONFIG_UACCESS_WITH_MEMCPY is not set # CONFIG_UBIFS_ATIME_SUPPORT is not set +# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set # CONFIG_UBIFS_FS_AUTHENTICATION is not set # CONFIG_UBIFS_FS_ENCRYPTION is not set +CONFIG_UBIFS_FS_LZO=y # CONFIG_UBIFS_FS_SECURITY is not set CONFIG_UBIFS_FS_XATTR=y -# CONFIG_UBIFS_FS_ZLIB is not set -# CONFIG_UBIFS_FS_ZSTD is not set +CONFIG_UBIFS_FS_ZLIB=y +CONFIG_UBIFS_FS_ZSTD=y # CONFIG_UBSAN is not set CONFIG_UBSAN_ALIGNMENT=y # CONFIG_UCB1400_CORE is not set diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index fd3da81213..bcc73ed7ae 100644 --- a/target/linux/generic/config-5.4 +++ b/target/linux/generic/config-5.4 @@ -5853,12 +5853,14 @@ CONFIG_TTY=y # CONFIG_TYPHOON is not set # CONFIG_UACCESS_WITH_MEMCPY is not set # CONFIG_UBIFS_ATIME_SUPPORT is not set +# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set # CONFIG_UBIFS_FS_AUTHENTICATION is not set # CONFIG_UBIFS_FS_ENCRYPTION is not set +CONFIG_UBIFS_FS_LZO=y # CONFIG_UBIFS_FS_SECURITY is not set CONFIG_UBIFS_FS_XATTR=y -# CONFIG_UBIFS_FS_ZLIB is not set -# CONFIG_UBIFS_FS_ZSTD is not set +CONFIG_UBIFS_FS_ZLIB=y +CONFIG_UBIFS_FS_ZSTD=y # CONFIG_UBSAN is not set CONFIG_UBSAN_ALIGNMENT=y # CONFIG_UCB1400_CORE is not set