Strip CONFIG_ALL_KMODS

This commit is contained in:
2025-10-21 10:45:18 -04:00
parent f178e39a28
commit 20b3f7f4ec
2 changed files with 5 additions and 1 deletions

View File

@@ -593,6 +593,10 @@ from_source() {
# Set compilation output dir # Set compilation output dir
config_opts+=("CONFIG_BINARY_FOLDER=\"$BIN_DIR\"") config_opts+=("CONFIG_BINARY_FOLDER=\"$BIN_DIR\"")
# Only build explicit kmods
execute sed -i '/^CONFIG_ALL_KMODS=/d' "$seed_file"
config_opts+=("CONFIG_ALL_KMODS=n")
# Add custom packages # Add custom packages
for pkg in $PACKAGES; do for pkg in $PACKAGES; do
if [[ $pkg == -* ]]; then if [[ $pkg == -* ]]; then

View File

@@ -9,7 +9,7 @@ default_packages=(nano htop diffutils tar iperf3 zsh rsync curl tcpdump
) )
# Default (but optional) kernel configs # Default (but optional) kernel configs
default_configs=("CONFIG_BUILDBOT=n CONFIG_ALL_KMODS=n") default_configs=("CONFIG_BUILDBOT=n")
# Current devices # Current devices
declare -Ag r4s=( declare -Ag r4s=(