Skip to content

Commit 25b17a2

Browse files
committed
armbian-kernel: remove forced EXT4/BTRFS as builtins (let each kernel .config decide)
- some families want builtin, some want modules, let each decide
1 parent 7ba9306 commit 25b17a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/functions/compilation/armbian-kernel.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,11 @@ function armbian_kernel_config__select_nftables() {
350350

351351
# Enables Docker support by configuring a comprehensive set of kernel options required for Docker functionality.
352352
# sets a wide range of kernel configuration options necessary for Docker, including support for
353-
# filesystems (e.g., BTRFS, EXT4), control groups (cgroups), networking, security, and various netfilter
353+
# control groups (cgroups), networking, security, and various netfilter
354354
# components. These settings ensure that the kernel is properly configured to support containerized environments.
355+
# ATTENTION: filesystems like EXT4 and BTRFS are now omitted, so it's each kernel's .config responsibility to enable
356+
# them as builtin or modules as each sees fit.
355357
function armbian_kernel_config__enable_docker_support() {
356-
opts_y+=("BTRFS_FS") # Enables the BTRFS file system support (built-in)
357358
opts_y+=("BTRFS_FS_POSIX_ACL") # Enables POSIX ACL support for BTRFS
358359
opts_y+=("BLK_CGROUP") # Enables block layer control groups (cgroups)
359360
opts_y+=("BLK_DEV_THROTTLING") # Enables block device IO throttling
@@ -383,7 +384,6 @@ function armbian_kernel_config__enable_docker_support() {
383384
opts_m+=("DUMMY") # Enables dummy network driver module
384385
opts_y+=("DEVPTS_MULTIPLE_INSTANCES") # Enables multiple instances of devpts (pseudo-terminal master/slave pairs)
385386
opts_y+=("ENCRYPTED_KEYS") # Enables support for encrypted keys in the kernel
386-
opts_y+=("EXT4_FS") # Enables EXT4 file system support as builtin
387387
opts_y+=("EXT4_FS_POSIX_ACL") # Enables POSIX ACL support for EXT4
388388
opts_y+=("EXT4_FS_SECURITY") # Enables security extensions for EXT4 file system
389389
opts_m+=("IPVLAN") # Enables IPvlan network driver support

0 commit comments

Comments
 (0)