Nowa Ammerlaan bb6c8448a1 secureboot.eclass: QOL fixes based on user feedback
Previously there was some misalignment between how MODULES_SIGN_* and
SECUREBOOT_SIGN_* are handled.

- USE=modules-sign with unset MODULES_SIGN_* would cause the kernel build
	system to generate a new key, while USE=secureboot with unset
	SECUREBOOT_SIGN_* would die. Align this better by adding some sensible
	default locations to look for a key (sbctl and kernel) and by adding some
	logic to generate a new key. Use for the new key the same config files
	that the kernel would use if they exist.
- USE=modules-sign infers the certificate from the key if the certificate is
	not set, whereas USE=secureboot would not do this. Align this better by
	setting the SECUREBOOT_SIGN_CERT to the SECUREBOOT_SIGN_KEY if the later is
	set but the former is not.

Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/39974
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
2025-01-05 14:39:26 +01:00
2025-01-05 03:52:16 +01:00
2024-12-22 10:57:35 +01:00
2025-01-04 18:28:33 +01:00
2025-01-04 20:08:49 +01:00
2025-01-03 18:36:26 +02:00
2024-12-30 20:40:57 +01:00
2025-01-05 14:24:44 +01:00
2025-01-05 12:04:19 +01:00
2025-01-02 11:44:00 +01:00
2025-01-01 09:55:16 +01:00
2025-01-02 01:11:38 +01:00
2025-01-01 13:21:53 +01:00
2024-12-29 00:00:18 +00:00
2025-01-04 15:07:33 -05:00
2024-12-30 16:16:46 +00:00
2025-01-05 14:31:57 +01:00
2025-01-02 13:14:28 +01:00
2024-12-16 14:44:33 -05:00
2024-12-31 14:22:36 +00:00
2025-01-05 00:25:29 +01:00
2025-01-05 03:29:32 +01:00
2024-12-25 15:52:14 +01:00
2025-01-03 12:42:07 -05:00
2024-12-17 23:52:17 -05:00
2024-12-30 10:17:43 -06:00
2024-12-31 11:26:52 +01:00
2025-01-05 20:30:02 +08:00
2025-01-05 18:25:34 +08:00
2024-12-24 11:08:27 +00:00
2025-01-03 12:52:38 -05:00
2024-12-31 17:46:57 -08:00
2025-01-04 23:08:01 +00:00
2025-01-02 05:51:42 +01:00
…
2025-01-01 01:00:00 +01:00
2025-01-01 01:00:00 +01:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%