diff options
author | Thomas Backlund <tmb@mageia.org> | 2014-01-11 04:00:49 +0159 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2014-01-11 04:00:49 +0159 |
commit | cee6396ace235d76a61fe0431475781eeb08c6ac (patch) | |
tree | 279263f597bcda6e7ee94a3817f799873a026c35 | |
parent | 1d643f59e5a37a5042d8c18e057544a72d7da05e (diff) | |
download | drakx-cee6396ace235d76a61fe0431475781eeb08c6ac.tar drakx-cee6396ace235d76a61fe0431475781eeb08c6ac.tar.gz drakx-cee6396ace235d76a61fe0431475781eeb08c6ac.tar.bz2 drakx-cee6396ace235d76a61fe0431475781eeb08c6ac.tar.xz drakx-cee6396ace235d76a61fe0431475781eeb08c6ac.zip |
partitioning_wizard: notify about missing /boot/EFI
-rw-r--r-- | perl-install/fs/partitioning_wizard.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index ddd54c9ec..c4449db7e 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -64,8 +64,8 @@ Then choose action ``Mount point'' and set it to `/'"), 1) or return; if (!any { isSwap($_) } @fstab) { $ok &&= $in->ask_okcancel('', N("You do not have a swap partition.\n\nContinue anyway?")); } - if (arch() =~ /ia64/ && !fs::get::has_mntpoint("/boot/efi", $all_hds)) { - $in->ask_warn('', N("You must have a FAT partition mounted in /boot/efi")); + if (arch() =~ /ia64|x86_64/ && (-e "/sys/firmware/efi") && !fs::get::has_mntpoint("/boot/EFI", $all_hds)) { + $in->ask_warn('', N("You must have a FAT partition mounted in /boot/EFI")); $ok = ''; } } until $ok; |