mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-04 12:31:27 +00:00
kernel: Add config fragment for module loading
Add a new conditional kernel config fragment in a subdirectory (following the pattern of signing/ and confidential_containers/) so it is not auto-included by the common/*.conf wildcard: - common/modules/modules.conf: Enables CONFIG_MODULES and CONFIG_MODULE_UNLOAD for out-of-tree kernel module support. This is required for loading user-compiled modules delivered via separate modules volume images. This fragment will be explicitly included by build-kernel.sh for confidential builds. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Support for loading kernel modules.
|
||||
# Required for out-of-tree module loading (e.g. user-compiled modules
|
||||
# delivered via a separate modules volume).
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
Reference in New Issue
Block a user