diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-27 22:00:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-27 22:00:51 +0100 |
commit | 14fff03b5545ac6b6f575afd2e6174afbd294fdd (patch) | |
tree | 21be5aee55de4f6216e406157ad8c59a811ea202 /eclass/dist-kernel-utils.eclass | |
parent | 9f51c386724b9543e88a9c0e1be57d44326f3116 (diff) |
gentoo auto-resync : 27:08:2023 - 22:00:51
Diffstat (limited to 'eclass/dist-kernel-utils.eclass')
-rw-r--r-- | eclass/dist-kernel-utils.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
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" |