| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/940905
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/37652
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/936402
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Use the input file as the output file if it is not specified.
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
sb-fix
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
|
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|