From ac25be0df4b079dbe65b88e89f51a6e5fd1dee39 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Thu, 8 Jan 2015 20:37:25 +0159 Subject: expose ESP for efi systems --- perl-install/fs/type.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install/fs') diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm index e4071e35c..81673b01f 100644 --- a/perl-install/fs/type.pm +++ b/perl-install/fs/type.pm @@ -31,6 +31,9 @@ if_(arch() =~ /i.86|x86_64/, 0x0b => 'vfat', 'FAT32', 0x07 => 'ntfs-3g', 'NTFS-3G', 0x07 => 'ntfs', 'NTFS', +), +if_( is_uefi(), + 0xef => 'vfat', 'EFI System Partition (FAT-12/16/32)', ), ], @@ -128,7 +131,9 @@ if_(arch() =~ /i.86|x86_64/, 0xe4 => '', 'SpeedStor (FAT-16)', 0xeb => 'befs', 'BeOS fs', 0xee => '', 'EFI GPT', - 0xef => 'vfat', 'EFI (FAT-12/16/32)', +if_( ! is_uefi(), + 0xef => 'vfat', 'EFI System Partition (FAT-12/16/32)', +), 0xf0 => '', 'Linux/PA-RISC boot', 0xf4 => '', 'SpeedStor (large part.)', 0xf2 => '', 'DOS secondary', -- cgit v1.2.1