From eec2e01efbc2e096387c21efc0dd66656f389b72 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 21 Jan 2002 11:25:28 +0000 Subject: """ When I choose a / partition smaller than 200 MB, the installation gives me an error message complaining that my system does not have enough free space for the installation, although basesystem install require less than 100 MB. """ up to around 250MB, minimal install is chosen. questions are: base system only, or no X, or normal. --- perl-install/install_steps_interactive.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index d5dc7563f..b174ac857 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -640,6 +640,12 @@ sub chooseGroups { }; while (1) { + if ($available_size < 140) { + # too small to choose anything. Defaulting to no group chosen + $val{$_} = 0 foreach %val; + last; + } + $o->reallyChooseGroups($size_to_display, $individual, \%val) or return; last if pkgs::correctSize($size / sqr(1024)) < $available_size; -- cgit v1.2.1