From 62645fd8835040b50faae56c123d00dff10f4f23 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Mon, 23 Jan 2023 11:55:34 +0100 Subject: [PATCH] remove not needed _SPEC parameters from grub.cfg --- usr/lib/archboot/installer/bootloader.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/usr/lib/archboot/installer/bootloader.sh b/usr/lib/archboot/installer/bootloader.sh index 926368200..16d0c0372 100644 --- a/usr/lib/archboot/installer/bootloader.sh +++ b/usr/lib/archboot/installer/bootloader.sh @@ -584,18 +584,6 @@ _do_grub_config() { ## Ignore if the insmod entries are repeated - there are possibilities of having /boot in one disk and root-fs in altogether different disk ## with totally different configuration. cat << EOF > "${_DESTDIR}/${_GRUB_PREFIX_DIR}/${_GRUB_CFG}" -if [ "\${grub_platform}" == "efi" ]; then - set _UEFI_ARCH="\${grub_cpu}" - if [ "\${grub_cpu}" == "x86_64" ]; then - set _SPEC_UEFI_ARCH="x64" - fi - if [ "\${grub_cpu}" == "i386" ]; then - set _SPEC_UEFI_ARCH="ia32" - fi - if [ "\${grub_cpu}" == "aarch64" ]; then - set _SPEC_UEFI_ARCH="aa64" - fi -fi # Include modules - required for boot insmod part_gpt insmod part_msdos