Skip to content

Commit 280ea0f

Browse files
Cyanoxygenchenx97
authored andcommitted
grub.d/30_uefi-firmware: disable fwsetup menu for mips64el-efi
1 parent ac6126a commit 280ea0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/grub.d/30_uefi-firmware.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ LABEL=$(gettext_printf "UEFI Firmware Settings")
3131
gettext_printf "Adding boot menu entry for UEFI Firmware Settings ...\n" >&2
3232

3333
cat << EOF
34-
if [ "\$grub_platform" = "efi" ]; then
34+
if [ "\$grub_platform" = "efi" -a "\$grub_cpu" != "mips64el" ]; then
3535
fwsetup --is-supported
3636
if [ "\$?" = 0 ]; then
3737
menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {

0 commit comments

Comments
 (0)