From 1b96be96d399303bcfa8d0f6c4920880848dac77 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Jun 2016 11:57:55 +0200 Subject: add a GRUB_BIOS partitions if needed (mga#18656) --- perl-install/partition_table/gpt.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/partition_table') diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index 472976377..7e1e9cd84 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -129,7 +129,8 @@ sub read_one { if ($_->{flag} eq 'ESP') { $_->{pt_type} = 0xef; } elsif ($_->{flag} eq 'BIOS_GRUB') { - $_->{pt_type} = $_->{flag}; + $_->{fs_type} = $_->{flag}; # hack to prevent it to land in hd->{raw} + $_->{pt_type} = $_->{flag}; # hack... } elsif ($_->{flag} eq 'LVM') { $_->{pt_type} = 0x8e; } elsif ($_->{flag} eq 'RAID') { -- cgit v1.2.1