From fc666ca8b327b3b1dda653f5238e6844f019faf7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Mar 2015 08:24:04 -0400 Subject: fix retrieving LVM/RAID partition type simimar to commit ee22664bcb1fdedece15e07d047ba86f3d791ee6 --- perl-install/partition_table/gpt.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/partition_table') diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index 5de9337e3..dc169c183 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -113,6 +113,10 @@ sub read_one { # fix detecting ESP (special case are they're detected through pt_type): if (c::get_partition_flag($hd->{file}, $_->{part_number}, 'ESP')) { $_->{pt_type} = 0xef; + } elsif (c::get_partition_flag($hd->{file}, $_->{part_number}, 'LVM')) { + $_->{pt_type} = 0x8e; + } elsif (c::get_partition_flag($hd->{file}, $_->{part_number}, 'RAID')) { + $_->{pt_type} = 0xfd; } @pt[$_->{part_number}-1] = $_; } -- cgit v1.2.1