summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/gpt.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-09 11:57:55 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-11 09:39:44 +0200
commit1b96be96d399303bcfa8d0f6c4920880848dac77 (patch)
tree6cea037cfd0c44e014a19e46966be65c1d3bdc26 /perl-install/partition_table/gpt.pm
parent72836d6f7cf216e405db6e6675e03ebda63b0655 (diff)
downloaddrakx-1b96be96d399303bcfa8d0f6c4920880848dac77.tar
drakx-1b96be96d399303bcfa8d0f6c4920880848dac77.tar.gz
drakx-1b96be96d399303bcfa8d0f6c4920880848dac77.tar.bz2
drakx-1b96be96d399303bcfa8d0f6c4920880848dac77.tar.xz
drakx-1b96be96d399303bcfa8d0f6c4920880848dac77.zip
add a GRUB_BIOS partitions if needed (mga#18656)
Diffstat (limited to 'perl-install/partition_table/gpt.pm')
-rw-r--r--perl-install/partition_table/gpt.pm3
1 files changed, 2 insertions, 1 deletions
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') {