diff --git a/openwrtbuilder b/openwrtbuilder index bc2eed6..af270e3 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -593,6 +593,10 @@ from_source() { # Set compilation output 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 for pkg in $PACKAGES; do if [[ $pkg == -* ]]; then diff --git a/profiles b/profiles index 0185755..01a6b44 100644 --- a/profiles +++ b/profiles @@ -9,7 +9,7 @@ default_packages=(nano htop diffutils tar iperf3 zsh rsync curl tcpdump ) # Default (but optional) kernel configs -default_configs=("CONFIG_BUILDBOT=n CONFIG_ALL_KMODS=n") +default_configs=("CONFIG_BUILDBOT=n") # Current devices declare -Ag r4s=(