summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-21 11:25:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-21 11:25:28 +0000
commiteec2e01efbc2e096387c21efc0dd66656f389b72 (patch)
treea56624c38992286fd6e392f04471ab8f276d1220 /perl-install/install_steps_interactive.pm
parent8c5ed30d8c25bd85a5562f8155300eb131ea2c0f (diff)
downloaddrakx-eec2e01efbc2e096387c21efc0dd66656f389b72.tar
drakx-eec2e01efbc2e096387c21efc0dd66656f389b72.tar.gz
drakx-eec2e01efbc2e096387c21efc0dd66656f389b72.tar.bz2
drakx-eec2e01efbc2e096387c21efc0dd66656f389b72.tar.xz
drakx-eec2e01efbc2e096387c21efc0dd66656f389b72.zip
""" 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.
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm6
1 files changed, 6 insertions, 0 deletions
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;