armbian-next: extensions: nomod: for when you really don't care about modules

This commit is contained in:
Ricardo Pardini 2023-01-23 00:36:38 +01:00
parent f43732a8e9
commit 8825a99845
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

8
extensions/nomod.sh Normal file
View File

@ -0,0 +1,8 @@
function extension_prepare_config__prepare_localmodconfig() {
display_alert "${EXTENSION}: nomod enabled" "${LSMOD} -- kernels won't work" "warn"
}
# This produces non-working kernels. It's meant for testing kernel image build and packaging.
function custom_kernel_config_post_defconfig__apply_mod2noconfig() {
run_kernel_make mod2noconfig
}