diff options
author | Thomas Backlund <tmb@mageia.org> | 2014-01-11 04:04:03 +0159 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2014-01-11 04:04:03 +0159 |
commit | cc67352b7a4cc06b127b7ea6194c196cc6fa89f1 (patch) | |
tree | b5725ea4ba7d8f079b228cb0a0c2bd20efb0d6fd | |
parent | cee6396ace235d76a61fe0431475781eeb08c6ac (diff) | |
download | drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar.gz drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar.bz2 drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.tar.xz drakx-cc67352b7a4cc06b127b7ea6194c196cc6fa89f1.zip |
fs/any: warn about missing /boot/EFI
-rw-r--r-- | perl-install/fs/any.pm | 4 |
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"); } } |