From cc67352b7a4cc06b127b7ea6194c196cc6fa89f1 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sat, 11 Jan 2014 04:04:03 +0159 Subject: fs/any: warn about missing /boot/EFI --- perl-install/fs/any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/fs/any.pm b/perl-install/fs/any.pm index 154e521ec..a5c4c9807 100644 --- a/perl-install/fs/any.pm +++ b/perl-install/fs/any.pm @@ -71,8 +71,8 @@ sub check_hds_boot_and_root { die "Need bootstrap partition to boot system!" if !(defined $partition_table::mac::bootstrap_part); } - if (arch() =~ /ia64/ && !fs::get::has_mntpoint("/boot/efi", $all_hds)) { - die N("You must have a FAT partition mounted in /boot/efi"); + if (arch() =~ /ia64|x86_64/ && (-e "/sys/firmmware/efi") && !fs::get::has_mntpoint("/boot/EFI", $all_hds)) { + die N("You must have a FAT partition mounted in /boot/EFI"); } } -- cgit v1.2.1