[openwrt/openwrt] kernel: include CONFIG_KEXEC_SIG in configs
LEDE Commits
lede-commits at lists.infradead.org
Tue Mar 15 00:34:05 PDT 2022
ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/23f94aa330a59eaecbb1b9328a9649e1642345f7
commit 23f94aa330a59eaecbb1b9328a9649e1642345f7
Author: Philip Prindeville <philipp at redfish-solutions.com>
AuthorDate: Tue Oct 26 13:47:17 2021 -0600
kernel: include CONFIG_KEXEC_SIG in configs
Seeing failure to build because of missing symbols related to provisioning
CONFIG_KEXEC and signed images. Without this, if you set
CONFIG_KERNEL_KEXEC=y and try to build, target/linux will hang at:
scripts/kconfig/conf --syncconfig Kconfig
...
kexec system call (KEXEC) [Y/n/?] y
kexec file based system call (KEXEC_FILE) [Y/n/?] y
Verify kernel signature during kexec_file_load() syscall (KEXEC_SIG) [N/y/?] (NEW)
Signed-off-by: Philip Prindeville <philipp at redfish-solutions.com>
---
target/linux/generic/config-5.10 | 1 +
target/linux/generic/config-5.4 | 1 +
target/linux/rockchip/armv8/config-5.10 | 1 -
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
index ca93b5f269..191566b0b8 100644
--- a/target/linux/generic/config-5.10
+++ b/target/linux/generic/config-5.10
@@ -2873,6 +2873,7 @@ CONFIG_KERNEL_XZ=y
CONFIG_KERNFS=y
# CONFIG_KEXEC is not set
# CONFIG_KEXEC_FILE is not set
+# CONFIG_KEXEC_SIG is not set
# CONFIG_KEYBOARD_ADC is not set
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4
index 899d04c669..151f0ec1f3 100644
--- a/target/linux/generic/config-5.4
+++ b/target/linux/generic/config-5.4
@@ -2613,6 +2613,7 @@ CONFIG_KERNEL_XZ=y
CONFIG_KERNFS=y
# CONFIG_KEXEC is not set
# CONFIG_KEXEC_FILE is not set
+# CONFIG_KEXEC_SIG is not set
# CONFIG_KEYBOARD_ADC is not set
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
diff --git a/target/linux/rockchip/armv8/config-5.10 b/target/linux/rockchip/armv8/config-5.10
index 1063489dc6..f68c8cb42f 100644
--- a/target/linux/rockchip/armv8/config-5.10
+++ b/target/linux/rockchip/armv8/config-5.10
@@ -298,7 +298,6 @@ CONFIG_JUMP_LABEL=y
CONFIG_KALLSYMS=y
CONFIG_KEXEC_CORE=y
CONFIG_KEXEC_FILE=y
-# CONFIG_KEXEC_SIG is not set
CONFIG_KSM=y
# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set
CONFIG_LEDS_GPIO=y
More information about the lede-commits
mailing list