Add a flag to add_module_from_symbol to use add_checked_modules instead of add_module
add_module_from_symbol
uses add_module
which means the the found modules will always be included. It would be useful to add an option (e.g. -c
) to add_module_from_symbol
to use add_checked_modules
instead.
This would prevent install/kms
from polluting the initramfs with kernel modules that almost no one actually needs.