summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-16 12:54:16 +0100
committerThomas Backlund <tmb@mageia.org>2015-03-20 21:09:19 +0159
commit36b1847932bee82c10406dd51627c92a347ca1f3 (patch)
tree476a5c51e3522ada11e3b1fd1f93b6e083e42df2 /perl-install/fs
parentacc8225a1588f74645b336ea09a4c2b45736e471 (diff)
downloaddrakx-36b1847932bee82c10406dd51627c92a347ca1f3.tar
drakx-36b1847932bee82c10406dd51627c92a347ca1f3.tar.gz
drakx-36b1847932bee82c10406dd51627c92a347ca1f3.tar.bz2
drakx-36b1847932bee82c10406dd51627c92a347ca1f3.tar.xz
drakx-36b1847932bee82c10406dd51627c92a347ca1f3.zip
match ESP partitions on all arches
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/type.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 604ef1e33..29f9a6f3b 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -291,7 +291,7 @@ sub defaultFS() { 'ext4' }
sub true_local_fs_types() { qw(btrfs ext3 ext2 ext4 reiserfs xfs jfs) }
sub isEmpty { !$_[0]{fs_type} && $_[0]{pt_type} == 0 }
-sub isEfi { arch() =~ /ia64/ && $_[0]{pt_type} == 0xef }
+sub isEfi { $_[0]{pt_type} == 0xef }
sub isExtended { $_[0]{pt_type} == 5 || $_[0]{pt_type} == 0xf || $_[0]{pt_type} == 0x85 }
sub isRawLVM { $_[0]{pt_type} == 0x8e || $_[0]{type_name} eq 'Linux Logical Volume Manager' }
sub isRawRAID { $_[0]{pt_type} == 0xfd || $_[0]{type_name} eq 'Linux RAID' }