From 091a79a9777e714be660d8b96907c4b441ccc561 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 29 Aug 2003 16:19:26 +0000 Subject: try to make sure additional CD are taken into account if low memory available for configuring urpmi. --- perl-install/pkgs.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/pkgs.pm') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 7ccb63627..5c168f345 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -423,7 +423,7 @@ sub psUsingHdlist { #- avoid using more than one medium if Cd is not ejectable. #- but keep all medium here so that urpmi has the whole set. - $method eq 'cdrom' && $medium > 1 && !common::usingRamdisk() and return; + $m->{ignored} ||= $method eq 'cdrom' && $medium > 1 && !common::usingRamdisk(); #- parse synthesis (if available) of directly hdlist (with packing). if ($m->{ignored}) { @@ -720,7 +720,7 @@ sub computeGroupSize { my $s = $group{$p->name} || do { join("\t", or_ify($p->rflags)); }; - next if length($s) > 80; # HACK, truncated too complicated expressions, too costly + next if length($s) > 120; # HACK, truncated too complicated expressions, too costly my $m = "$flags\t$s"; $group{$p->name} = ($memo{$m} ||= or_clean(@flags, split("\t", $s))); } -- cgit v1.2.1