summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-11-04 11:50:50 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-11-04 11:50:50 +0000
commitfc9b90fc45cb1786ee407614911b0cc27d7a1b6c (patch)
treed0b9a71b2f567bd8897c42193806431f272da7f1
parent0d396218a44ac08b80d8d21c8c1d44595f49cb62 (diff)
downloaddrakx-fc9b90fc45cb1786ee407614911b0cc27d7a1b6c.tar
drakx-fc9b90fc45cb1786ee407614911b0cc27d7a1b6c.tar.gz
drakx-fc9b90fc45cb1786ee407614911b0cc27d7a1b6c.tar.bz2
drakx-fc9b90fc45cb1786ee407614911b0cc27d7a1b6c.tar.xz
drakx-fc9b90fc45cb1786ee407614911b0cc27d7a1b6c.zip
Add hdXlun=0 for hdX=ide-scsi options so that we don't get multiple entries
for cdwriters et al.
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index bd72ed4e8..47da4be32 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -805,7 +805,10 @@ sub setupBootloaderBefore {
require bootloader;
if (my @l = (grep { $_->{bus} eq 'ide' } detect_devices::burners(), detect_devices::raw_zips())) {
- bootloader::set_append($o->{bootloader}, $_->{device}, 'ide-scsi') foreach @l;
+ foreach (@l) {
+ bootloader::set_append($o->{bootloader}, $_->{device}, 'ide-scsi');
+ bootloader::set_append($o->{bootloader}, $_->{device}.'lun', 0);
+ }
}
if ($o->{miscellaneous}{HDPARM}) {
bootloader::set_append($o->{bootloader}, $_, 'autotune') foreach grep { /ide/ } all("/proc/ide");