mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
sys-kernel/gentoo-kernel-bin: fix ordering in 6.12.{47,48}
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
parent
c8a9bb6828
commit
c805eeb53d
@ -155,6 +155,9 @@ src_configure() {
|
||||
die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
|
||||
fi
|
||||
|
||||
local image="${kernel_dir}/$(dist-kernel_get_image_path)"
|
||||
local uki="${image%/*}/uki.efi"
|
||||
|
||||
# Override user variable with the cert used during build
|
||||
openssl x509 \
|
||||
-inform DER -in "${kernel_dir}/certs/signing_key.x509" \
|
||||
@ -162,8 +165,6 @@ src_configure() {
|
||||
die "Failed to convert pcrpkey to PEM format"
|
||||
export SECUREBOOT_SIGN_CERT=${T}/cert.pem
|
||||
|
||||
local image="${kernel_dir}/$(dist-kernel_get_image_path)"
|
||||
local uki="${image%/*}/uki.efi"
|
||||
if [[ -s ${uki} ]]; then
|
||||
# We need to extract the plain image for the test phase
|
||||
# and USE=-generic-uki.
|
||||
|
||||
@ -155,6 +155,9 @@ src_configure() {
|
||||
die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
|
||||
fi
|
||||
|
||||
local image="${kernel_dir}/$(dist-kernel_get_image_path)"
|
||||
local uki="${image%/*}/uki.efi"
|
||||
|
||||
# Override user variable with the cert used during build
|
||||
openssl x509 \
|
||||
-inform DER -in "${kernel_dir}/certs/signing_key.x509" \
|
||||
@ -162,8 +165,6 @@ src_configure() {
|
||||
die "Failed to convert pcrpkey to PEM format"
|
||||
export SECUREBOOT_SIGN_CERT=${T}/cert.pem
|
||||
|
||||
local image="${kernel_dir}/$(dist-kernel_get_image_path)"
|
||||
local uki="${image%/*}/uki.efi"
|
||||
if [[ -s ${uki} ]]; then
|
||||
# We need to extract the plain image for the test phase
|
||||
# and USE=-generic-uki.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user