From 14fff03b5545ac6b6f575afd2e6174afbd294fdd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 27 Aug 2023 22:00:51 +0100 Subject: gentoo auto-resync : 27:08:2023 - 22:00:51 --- eclass/dist-kernel-utils.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eclass/dist-kernel-utils.eclass') diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index 6903183b6efb..b2e9df6746e3 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist-kernel-utils.eclass @@ -131,11 +131,11 @@ dist-kernel_install_kernel() { done shopt -u nullglob export KERNEL_INSTALL_PLUGINS="${KERNEL_INSTALL_PLUGINS} ${plugins[@]}" - fi - if [[ ${KERNEL_IUSE_SECUREBOOT} ]]; then - # Kernel-install requires uki's are named uki.efi, sign in-place - secureboot_sign_efi_file "${image}" "${image}" + if [[ ${KERNEL_IUSE_SECUREBOOT} ]]; then + # Ensure the uki is signed if dracut hasn't already done so. + secureboot_sign_efi_file "${image}" + fi fi ebegin "Installing the kernel via installkernel" -- cgit v1.2.3