From c3cd1e5c41ff45eb5eb4ac2df33c0865c8965909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Thu, 15 May 2025 15:36:37 +0200 Subject: [PATCH] feat: Enable CONFIG_EROFS_FS in kernel config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EROFS - Enhanced Read-Only File System A modern, flexible, general-purpose, high-performance block-based immutable filesystem with highly-optimized ondisk format and runtime implementation aimed at various use cases instead of just focusing on storage space saving without considering any side effects of runtime performance. See: https://erofs.docs.kernel.org/en/latest/ Signed-off-by: Joakim NohlgÄrd --- kernel/build/config-amd64 | 14 +++++++++++++- kernel/build/config-arm64 | 13 ++++++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/kernel/build/config-amd64 b/kernel/build/config-amd64 index dc3f3cd38..675e0b5e9 100644 --- a/kernel/build/config-amd64 +++ b/kernel/build/config-amd64 @@ -6305,7 +6305,18 @@ CONFIG_PSTORE_COMPRESS=y # CONFIG_PSTORE_BLK is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set -# CONFIG_EROFS_FS is not set +CONFIG_EROFS_FS=y +# CONFIG_EROFS_FS_DEBUG is not set +CONFIG_EROFS_FS_XATTR=y +CONFIG_EROFS_FS_POSIX_ACL=y +CONFIG_EROFS_FS_SECURITY=y +CONFIG_EROFS_FS_BACKED_BY_FILE=y +CONFIG_EROFS_FS_ZIP=y +# CONFIG_EROFS_FS_ZIP_LZMA is not set +# CONFIG_EROFS_FS_ZIP_DEFLATE is not set +CONFIG_EROFS_FS_ZIP_ZSTD=y +# CONFIG_EROFS_FS_ONDEMAND is not set +# CONFIG_EROFS_FS_PCPU_KTHREAD is not set CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=y CONFIG_NFS_V2=y @@ -6888,6 +6899,7 @@ CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y CONFIG_LZO_COMPRESS=y CONFIG_LZO_DECOMPRESS=y +CONFIG_LZ4_DECOMPRESS=y CONFIG_ZSTD_COMMON=y CONFIG_ZSTD_COMPRESS=y CONFIG_ZSTD_DECOMPRESS=y diff --git a/kernel/build/config-arm64 b/kernel/build/config-arm64 index a319d2db1..c8066f671 100644 --- a/kernel/build/config-arm64 +++ b/kernel/build/config-arm64 @@ -9060,7 +9060,18 @@ CONFIG_PSTORE_COMPRESS=y # CONFIG_PSTORE_BLK is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set -# CONFIG_EROFS_FS is not set +CONFIG_EROFS_FS=y +# CONFIG_EROFS_FS_DEBUG is not set +CONFIG_EROFS_FS_XATTR=y +CONFIG_EROFS_FS_POSIX_ACL=y +CONFIG_EROFS_FS_SECURITY=y +CONFIG_EROFS_FS_BACKED_BY_FILE=y +CONFIG_EROFS_FS_ZIP=y +# CONFIG_EROFS_FS_ZIP_LZMA is not set +# CONFIG_EROFS_FS_ZIP_DEFLATE is not set +CONFIG_EROFS_FS_ZIP_ZSTD=y +# CONFIG_EROFS_FS_ONDEMAND is not set +# CONFIG_EROFS_FS_PCPU_KTHREAD is not set CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=y CONFIG_NFS_V2=y