From fc9b90fc45cb1786ee407614911b0cc27d7a1b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Tue, 4 Nov 2003 11:50:50 +0000 Subject: Add hdXlun=0 for hdX=ide-scsi options so that we don't get multiple entries for cdwriters et al. --- perl-install/install_steps.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.1