mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
0ef4b71c4de1d7b9773d524d85b7eb97d3ccc883
The kernel build system expects the module signing key and certificate in one file. In order to accommodate this we merge the MODULES_SIGN_KEY and MODULES_SIGN_CERT into a temporary key in $T. However, in doing so we override the MODULES_SIGN_KEY variable (but not the MODULES_SIGN_CERT variable). This becomes a problem when merging binpkgs because then the MODULES_SIGN_KEY variable points to a temporary signing key that does not exist (whereas the untouched MODULES_SIGN_CERT does exist). Usually this is not an issue except if the MODULES_SIGN_KEY is to be used later in the binpkg merging process such as is the case in, for example, the dkms installkernel hook. Here we resolve this unfortunate situation by using a local variable during the config merging process and not touching the original MODULES_SIGN_KEY. Therefore, the MODULES_SIGN_KEY will now also point us to an existing key if we are merging a binpkg of the kernel. Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/41286 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%