mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
kernel-config: Force-enable CONFIG_IKCONFIG_PROC=y
to make the kernel config available on the running machine via /proc/config.gz
This commit is contained in:
@@ -47,7 +47,17 @@ function armbian_kernel_config__disable_various_options() {
|
||||
fi
|
||||
}
|
||||
|
||||
function armbian_kernel_config__enable_config_access_in_live_system() {
|
||||
kernel_config_modifying_hashes+=("CONFIG_IKCONFIG_PROC=y")
|
||||
if [[ -f .config ]]; then
|
||||
kernel_config_set_n CONFIG_IKCONFIG_PROC # This option enables access to the kernel configuration file through /proc/config.gz
|
||||
fi
|
||||
}
|
||||
|
||||
# +++++++++++ HELPERS CORNER +++++++++++
|
||||
#
|
||||
# Helpers for manipulating kernel config.
|
||||
#
|
||||
function kernel_config_set_m() {
|
||||
declare module="$1"
|
||||
display_alert "Enabling kernel module" "${module}=m" "debug"
|
||||
|
||||
Reference in New Issue
Block a user