From 96a30fb31bc6b91a0c7b341c124c7fd94cee871f Mon Sep 17 00:00:00 2001 From: knuxify Date: Thu, 2 Jul 2026 10:14:53 +0200 Subject: [PATCH] kconfigcheck: make BTRFS and F2FS modules Initially, these were switched to built-ins as they were included in the default initramfs, which can have a worse compression ratio than the kernel itself (e.g. Exynos 4 kernel uses xz for kernel, gzip (pmbootstrap default) for initramfs). Since f45319dc, however, these have been moved to initramfs-extra; as such, they don't get built into the initramfs on devices that use create_initfs_extra. They are now safe to move to modules - this lets us save ~2MB on space-constrained devices. Part-of: --- kconfigcheck.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kconfigcheck.toml b/kconfigcheck.toml index 8349c2a56..e500037f6 100644 --- a/kconfigcheck.toml +++ b/kconfigcheck.toml @@ -379,14 +379,14 @@ NF_CONNTRACK_MARK = "y" # filesystems ["category:filesystems".">=0.0.0"."all"] -# Note: These are builtin, not modules, because it reduces the overall +# Note: EXT4 is builtin, not a module, because it reduces the overall # vmlinuz+initramfs size for devices with small boot partitions. # See: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7136#note_505237 -BTRFS_FS = "y" +BTRFS_FS = "m" BTRFS_FS_POSIX_ACL = "y" EXFAT_FS = "m" EXT4_FS = "y" -F2FS_FS = "y" +F2FS_FS = "m" UDF_FS = "m" XFS_FS = "m" EROFS_FS = "m"