summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs/any.pm4
1 files 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");
}
}