armbian-next: kernel-localmodconfig: update kernel_config_mtime after running localmodconfig, otherwise changes not detected

This commit is contained in:
Ricardo Pardini
2022-07-04 18:44:14 +02:00
parent 41e471aa1e
commit d6c43d0cdf

View File

@@ -17,5 +17,6 @@ function custom_kernel_config_post_defconfig__apply_localmodconfig() {
if [[ "a${KERNEL_CONFIG_FROM_LSMOD}a" != "aa" ]]; then
local lsmod_file="${SRC}/userpatches/lsmod/${KERNEL_CONFIG_FROM_LSMOD}.lsmod"
run_kernel_make "LSMOD=${lsmod_file}" localmodconfig
kernel_config_mtime=$(get_file_modification_time ".config") # capture the mtime of the config file after the localmodconfig
fi
}