summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-22 21:27:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-22 21:27:03 +0000
commitfb8b7f343986d46dd67545816355a54424598747 (patch)
tree6edd4376ee90b5f684f404f70adba42bf4cd4ce0 /perl-install/partition_table.pm
parent8b9f10b6f500bff41b2d7e47716a82899d8dc95d (diff)
downloaddrakx-fb8b7f343986d46dd67545816355a54424598747.tar
drakx-fb8b7f343986d46dd67545816355a54424598747.tar.gz
drakx-fb8b7f343986d46dd67545816355a54424598747.tar.bz2
drakx-fb8b7f343986d46dd67545816355a54424598747.tar.xz
drakx-fb8b7f343986d46dd67545816355a54424598747.zip
remove unused auto_win_extended stuff
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index d1f47079e..74645562d 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -375,12 +375,11 @@ sub remove_empty_extended {
}
$_->{normal};
} @{$hd->{extended}};
- adjust_main_extended($hd, 1);
+ adjust_main_extended($hd);
}
sub adjust_main_extended {
- my ($hd, $no_auto_win_extended) = @_;
- $no_auto_win_extended = 1;
+ my ($hd) = @_;
if (!is_empty_array_ref $hd->{extended}) {
my ($l, @l) = @{$hd->{extended}};
@@ -397,7 +396,6 @@ sub adjust_main_extended {
}
$l->{start} = $hd->{primary}{extended}{start} = $start;
$l->{size} = $hd->{primary}{extended}{size} = $end - $start;
- $hd->{primary}{extended}{type} = $only_linux ? 0x85 : $has_win_lba ? 0xf : 0x5 if !$::expert && !$no_auto_win_extended;
}
unless (@{$hd->{extended} || []} || !$hd->{primary}{extended}) {
%{$hd->{primary}{extended}} = (); #- modify the raw entry