From 4367a94baced65123f56351b7dd94defd23ad931 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 27 Jan 2017 21:18:06 +0000 Subject: Don't suggest mountpoint for ESP when doing a legacy boot install (mga#20164). When doing a UEFI install, we add a fstab entry to mount the ESP on /boot/EFI. This is neither required nor desirable when doing a legacy boot install, even if an ESP is present on the disk. --- perl-install/fs/mount_point.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fs/mount_point.pm b/perl-install/fs/mount_point.pm index 9263d692f..ead8ee0a3 100644 --- a/perl-install/fs/mount_point.pm +++ b/perl-install/fs/mount_point.pm @@ -58,7 +58,7 @@ sub suggest_mount_points { sub suggest_mount_points_always { my ($fstab) = @_; - my @ESP = grep { isESP($_) && maybeFormatted($_) && !$_->{is_removable} } @$fstab; + my @ESP = grep { is_uefi() && isESP($_) && maybeFormatted($_) && !$_->{is_removable} } @$fstab; if (@ESP) { $ESP[0]{mntpoint} = "/boot/EFI"; } -- cgit v1.2.1