diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-06-16 16:33:56 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-06-20 20:57:36 +0200 |
commit | 200888d28399ef852b62079544103c584980b244 (patch) | |
tree | 3c40e90f3a0dff31fc4cba0e0d07bbb5577b5769 /eclass/dist-kernel-utils.eclass | |
parent | sys-kernel/gentoo-kernel: add module signing option (diff) | |
download | gentoo-200888d28399ef852b62079544103c584980b244.tar.gz gentoo-200888d28399ef852b62079544103c584980b244.tar.bz2 gentoo-200888d28399ef852b62079544103c584980b244.zip |
dist-kernel-utils.eclass: fix extension of generated efi file
If kernel-install is configured to use the uki layout the extension of the efi
file that we install has to be .efi otherwise kernel-install returns an error.
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'eclass/dist-kernel-utils.eclass')
-rw-r--r-- | eclass/dist-kernel-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index 439bdc87695d..c6892c2f0127 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist-kernel-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: dist-kernel-utils.eclass @@ -104,7 +104,7 @@ dist-kernel_install_kernel() { if [[ ${magic} == MZ ]]; then einfo "Combined UEFI kernel+initramfs executable found" # install the combined executable in place of kernel - image=${initrd}.uefi + image=${initrd}.efi mv "${initrd}" "${image}" || die # put an empty file in place of initrd. installing a duplicate # file would waste disk space, and removing it entirely provokes |