xarblu / xarblu-overlay

My personal overlay of Gentoo GNU/Linux ebuilds
13 stars 2 forks source link

sys-kernel/cachyos-kernel: Broken signing #561

Closed Username404-59 closed 1 day ago

Username404-59 commented 1 day ago

Hey, I've tried using the new ebuilds today and had this:

* ERROR: sys-kernel/cachyos-kernel-6.11.7::xarblu-overlay failed (prepare phase):
 *   MODULES_SIGN_KEY=/root/PK.key not found or not readable!
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_prepare
 *   environment, line 3713:  Called kernel-build_merge_configs '/var/tmp/portage/sys-kernel/cachyos-kernel-6.11.7/temp/version.config' '/var/tmp/portage/sys-kernel/cachyos-kernel-6.11.7/work/gentoo-kernel-config-g14/base.config' '/var/tmp/portage/sys-kernel/cachyos-kernel-6.11.7/temp/cachy-defaults.config' '/var/tmp/portage/sys-kernel/cachyos-kernel-6.11.7/work/gentoo-kernel-config-g14/no-debug.config' '/var/tmp/portage/sys-kernel/cachyos-kernel-6.11.7/work/gentoo-kernel-config-g14/secureboot.config'
 *   environment, line 2106:  Called die
 * The specific snippet of code:
 *                   die "MODULES_SIGN_KEY=${MODULES_SIGN_KEY} not found or not readable!";

which doesn't seem to happen on the old ebuild I was updating locally so I think some commit broke it

xarblu commented 1 day ago

Forgot to call kernel-build_pkg_setup in pkg_setup. Should be fixed with version 6.11.8.