Currently rocking the binary kernel temporarily until I can build my own, I am having a problem where the build is failing because of some certificate errors. Let me know if I should post the entire build log but the interesting bit is here. The thing is, I'm not running secure boot or anything like that, I am not trying to sign the kernel either, Im following the guide (https://wiki.gentoo.org/wiki/Handbook:A ... on_kernels) for a distribution kernel. So I've not done the steps for signing using openssl and kernel keys, I'm trying to avoid doing that.
Code: Select all
Could not find certificate from /usr/src/linux-6.12.47-gentoo-dist/certs/signing_key.x509
[31;01m*[0m ERROR: sys-kernel/gentoo-kernel-6.12.47::gentoo failed (postinst phase):
[31;01m*[0m Failed to convert kernel certificate to PEM format
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 136: Called pkg_postinst
[31;01m*[0m environment, line 2633: Called kernel-build_pkg_postinst
[31;01m*[0m environment, line 1704: Called kernel-install_pkg_postinst
[31;01m*[0m environment, line 2197: Called kernel-install_install_all '6.12.47-gentoo-dist'
[31;01m*[0m environment, line 2165: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m openssl x509 -inform DER -in "${kernel_cert}" -outform PEM -out "${T}/cert.pem" || die "Failed to convert kernel certificate to PEM format";
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-6.12.47::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-6.12.47::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/empty'
[31;01m*[0m S: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.47/work/linux-6.12'
[31;01m * [39;49;00mFAILED postinst: 1
