New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel: enable CONFIG_KEXEC_SIG* #9306
Conversation
Requesting reviews from @aparcar @rsalvaterra @bobafetthotmail |
The commit title should be something like |
10f2afc
to
a779d3f
Compare
Done. |
Er, I mean the prefix should be |
a779d3f
to
c2561d0
Compare
It's already renamed, just the commit kept the old name |
So... good to go? |
How is this failing? I'm trying to build x86/64 and it works just fine? |
CONFIG_KEXEC_SIG symbols showed up in 5.4. But from what I know, openwrt doesn't sign kernel modules (CONFIG_MODULE_SIG is disabled in the generic/config-5.10) or kernels yet. So, If this gets enabled and if the KConfig help text for I would suggest to put |
x86 has EFI. EFI potentially supports secure boot, which would require signed images. |
Do you want to add support for grub+kernel+module signing on x86 (and possibly arm) for this? EDIT: (just remembered about grub, it needs to be signed too.) |
I don't plan on doing it any time soon, but don't want to add any obstacles to someone taking it on, either. |
80857ec
to
247c0f6
Compare
Done. |
Can you please make it clear (in the commit message) for us mere mortals what is failing now? What needs to be done in order to see the failure? |
I'm building
So in short, if |
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>
247c0f6
to
c83e18c
Compare
Thanks! Pulled into my staging tree at https://git.openwrt.org/openwrt/staging/ynezz.git |
Failing to build because of missing symbols related to provisioning
CONFIG_KEXEC.
Signed-off-by: Philip Prindeville philipp@redfish-solutions.com