summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-01-09 00:58:22 +0159
committerThomas Backlund <tmb@mageia.org>2015-01-09 00:58:22 +0159
commitdebe8d3882800bf2316384d28ebeea6444171171 (patch)
treef24d765c3a6aa2f97db8f7f327e05798f186f790 /perl-install
parent26b29ead8466842de4d564c26b1fe07f3dda2fd2 (diff)
downloaddrakx-debe8d3882800bf2316384d28ebeea6444171171.tar
drakx-debe8d3882800bf2316384d28ebeea6444171171.tar.gz
drakx-debe8d3882800bf2316384d28ebeea6444171171.tar.bz2
drakx-debe8d3882800bf2316384d28ebeea6444171171.tar.xz
drakx-debe8d3882800bf2316384d28ebeea6444171171.zip
move EFI part up in the list so it actually gets listed
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/type.pm9
1 files changed, 3 insertions, 6 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 55592d6f1..435fe7392 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -25,6 +25,9 @@ my (%type_name2pt_type, %type_name2fs_type, %fs_type2pt_type, %pt_type2fs_type,
0x83 => 'ext4', 'Journalised FS: ext4',
0x83 => 'btrfs', 'Journalised FS: Btrfs',
0x83 => 'reiserfs', 'Journalised FS: ReiserFS',
+if_( is_uefi(),
+ 0xef => 'vfat', 'EFI System Partition',
+),
if_(arch() =~ /i.86|x86_64/,
0x83 => 'xfs', 'Journalised FS: XFS',
0x83 => 'jfs', 'Journalised FS: JFS',
@@ -32,9 +35,6 @@ if_(arch() =~ /i.86|x86_64/,
0x07 => 'ntfs-3g', 'NTFS-3G',
0x07 => 'ntfs', 'NTFS',
),
-if_( is_uefi(),
- 0xef => 'vfat', 'EFI System Partition (FAT-12/16/32)',
-),
],
non_fs_type => [
@@ -131,9 +131,6 @@ if_( is_uefi(),
0xe4 => '', 'SpeedStor (FAT-16)',
0xeb => 'befs', 'BeOS fs',
0xee => '', 'EFI GPT',
-if_( ! is_uefi(),
- 0xef => 'vfat', 'EFI System Partition (FAT-12/16/32)',
-),
0xf0 => '', 'Linux/PA-RISC boot',
0xf4 => '', 'SpeedStor (large part.)',
0xf2 => '', 'DOS secondary',