[openwrt/openwrt] kernel: enable lzo, zlib and zstd in ubifs

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 21 18:12:59 BST 2021


ldir pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/be7b5602789902692090abb10c971651887cd62b

commit be7b5602789902692090abb10c971651887cd62b
Author: Rui Salvaterra <rsalvaterra at gmail.com>
AuthorDate: Mon Apr 5 19:01:13 2021 +0100

    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 <rsalvaterra at gmail.com>
---
 target/linux/generic/config-5.10 | 6 ++++--
 target/linux/generic/config-5.4  | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

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



More information about the lede-commits mailing list