mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
disable bli on aarch64, it breaks Parallels and UTM
This commit is contained in:
parent
7b96d65caf
commit
94a2cd8716
1 changed files with 9 additions and 10 deletions
|
@ -105,21 +105,20 @@ EOF
|
|||
[[ -n "${_RAID_ON_LVM}" ]] && echo "insmod lvm" >> "${_DESTDIR}/${_GRUB_PREFIX_DIR}/${_GRUB_CFG}"
|
||||
#shellcheck disable=SC2129
|
||||
cat << EOF >> "${_DESTDIR}/${_GRUB_PREFIX_DIR}/${_GRUB_CFG}"
|
||||
if [ -e "\${prefix}/\${grub_cpu}-\${grub_platform}/all_video.mod" ]; then
|
||||
if [ "\${grub_platform}" == "efi" ]; then
|
||||
insmod all_video
|
||||
else
|
||||
if [ "\${grub_platform}" == "efi" ]; then
|
||||
insmod bli
|
||||
insmod efi_gop
|
||||
if [ "\${grub_cpu}" == "x86_64" ] || [ "\${grub_cpu}" == "i386" ]; then
|
||||
insmod bli
|
||||
insmod efi_uga
|
||||
fi
|
||||
if [ "\${grub_platform}" == "pc" ]; then
|
||||
elif [ "\${grub_platform}" == "pc" ]; then
|
||||
insmod vbe
|
||||
insmod vga
|
||||
fi
|
||||
insmod video_bochs
|
||||
insmod video_cirrus
|
||||
insmod png
|
||||
fi
|
||||
insmod video_bochs
|
||||
insmod video_cirrus
|
||||
insmod font
|
||||
search --fs-uuid --no-floppy --set=usr_part ${_USRDEV_HINTS_STRING} ${_USRDEV_FS_UUID}
|
||||
search --fs-uuid --no-floppy --set=root_part ${_ROOTDEV_HINTS_STRING} ${_ROOTDEV_FS_UUID}
|
||||
|
|
Loading…
Reference in a new issue