diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2021-10-26 13:47:17 -0600 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-03-15 08:33:45 +0100 |
commit | 23f94aa330a59eaecbb1b9328a9649e1642345f7 (patch) | |
tree | 9e187ce3591016b6cfc46f1fa768796c7ea42e05 | |
parent | fbe2c3feaa4ef5747a691cb4c808925b024ff450 (diff) | |
download | upstream-23f94aa330a59eaecbb1b9328a9649e1642345f7.tar.gz upstream-23f94aa330a59eaecbb1b9328a9649e1642345f7.tar.bz2 upstream-23f94aa330a59eaecbb1b9328a9649e1642345f7.zip |
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@redfish-solutions.com>
-rw-r--r-- | target/linux/generic/config-5.10 | 1 | ||||
-rw-r--r-- | target/linux/generic/config-5.4 | 1 | ||||
-rw-r--r-- | target/linux/rockchip/armv8/config-5.10 | 1 |
3 files changed, 2 insertions, 1 deletions
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 |