summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-09 10:08:40 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-09 10:08:40 +0000
commit83ffacb9b029344f14f7d92dc00e8bfed331faea (patch)
treedf2ce7b68b8d83ea9fae897d22b7353fbf6bb35e /perl-install
parent8857971e7740fa4a909297a112430deaef6466c7 (diff)
downloaddrakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar
drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar.gz
drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar.bz2
drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.tar.xz
drakx-83ffacb9b029344f14f7d92dc00e8bfed331faea.zip
(get_normal_parts_and_holes): remove only small holes, not small partitions
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 81ea32cf1..9b23ff709 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -423,7 +423,7 @@ sub get_normal_parts_and_holes {
} sort { $a->{start} <=> $b->{start} } grep { !isWholedisk($_) } get_normal_parts($hd);
push @l, { start => $start, size => $hd->{totalsectors} - $start, type => 0, rootDevice => $hd->{device} };
- grep { $_->{size} >= $hd->cylinder_size } @l;
+ grep { $_->{type} || $_->{size} >= $hd->cylinder_size } @l;
}
sub read_one($$) {