]> git.ipfire.org Git - thirdparty/grub.git/commit
templates: Enable fwsetup on EFI platforms only
authorDimitri John Ledkov <dimitri.ledkov@canonical.com>
Tue, 29 Nov 2022 22:13:27 +0000 (22:13 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 7 Dec 2022 22:38:26 +0000 (23:38 +0100)
commitef562269bcacfab5d18f50f8faff6e9b56ccdf82
tree3836395b830b8c4ca8adaef577a04f84f86c6d2d
parent2e32d2357443d596d8d9067116152ec49be02a4a
templates: Enable fwsetup on EFI platforms only

Only perform call to fwsetup if one is on EFI platform. On all other
platforms fwsetup command does not exists, and thus returns 0 and
a useless uefi-firmware menu entry gets generated.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub.d/30_uefi-firmware.in