summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-04-03 08:57:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-04-03 08:57:37 +0000
commitad7c92529b6fecfb71087fd0433407a2428a7366 (patch)
tree7f5349b9ec6dc8aeadf521c177f17bc2c13d6d81
parent2d0b2c7d342d517086212ff79f483ecfd881c13b (diff)
downloaddrakx-ad7c92529b6fecfb71087fd0433407a2428a7366.tar
drakx-ad7c92529b6fecfb71087fd0433407a2428a7366.tar.gz
drakx-ad7c92529b6fecfb71087fd0433407a2428a7366.tar.bz2
drakx-ad7c92529b6fecfb71087fd0433407a2428a7366.tar.xz
drakx-ad7c92529b6fecfb71087fd0433407a2428a7366.zip
in the log, display reached size in MB, not GB through formatXiB (not precise enough)
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 089d94fb0..f8dbd9451 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -405,7 +405,7 @@ sub setSelectedFromCompssList {
}
}
my @flags = map_each { if_($::b, $::a) } %$rpmsrate_flags_chosen;
- log::l("setSelectedFromCompssList: reached size ", formatXiB($nb), ", up to indice $min_level (less than ", formatXiB($max_size), ") for flags ", join(' ', sort @flags));
+ log::l("setSelectedFromCompssList: reached size ", int($nb /1024/1024), "MB, up to indice $min_level (less than ", formatXiB($max_size), ") for flags ", join(' ', sort @flags));
log::l("setSelectedFromCompssList: ", join(" ", sort map { $_->name } grep { $_->flag_selected } @{$packages->{depslist}}));
$min_level;
}