mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove not needed _SPEC parameters from grub.cfg
This commit is contained in:
parent
4a7ffdf8ae
commit
62645fd883
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue