summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-25 09:14:49 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-25 09:14:49 +0000
commitec23fb122e2a2137723802e447416a8de02343a4 (patch)
tree94a64b5ceb2da36ad72e47cbd3e255bd46fbc047
parentd4b2b94326f76aa9ba9540a7e9bc3519f865035b (diff)
downloaddrakx-ec23fb122e2a2137723802e447416a8de02343a4.tar
drakx-ec23fb122e2a2137723802e447416a8de02343a4.tar.gz
drakx-ec23fb122e2a2137723802e447416a8de02343a4.tar.bz2
drakx-ec23fb122e2a2137723802e447416a8de02343a4.tar.xz
drakx-ec23fb122e2a2137723802e447416a8de02343a4.zip
allow non ejectable medium to allow all hdlists on the bootable medium.
-rw-r--r--perl-install/install_steps_interactive.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index cf0fafde4..e793aa449 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -678,7 +678,10 @@ sub chooseCD {
if (!common::usingRamdisk()) {
#- mono-cd in case of no ramdisk
- undef $packages->{mediums}{$_}{selected} foreach @mediums;
+ foreach (@mediums) {
+ pkgs::mediumDescr($packages, $install_any::boot_medium) eq pkgs::mediumDescr($packages, $_) and next;
+ undef $packages->{mediums}{$_}{selected};
+ }
log::l("low memory install, using single CD installation (as it is not ejectable)");
return;
}