diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-11-04 11:50:50 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-11-04 11:50:50 +0000 |
commit | fc9b90fc45cb1786ee407614911b0cc27d7a1b6c (patch) | |
tree | d0b9a71b2f567bd8897c42193806431f272da7f1 | |
parent | 0d396218a44ac08b80d8d21c8c1d44595f49cb62 (diff) | |
download | drakx-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.pm | 5 |
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"); |