diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 58bc58ca2..592d4073d 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -803,6 +803,13 @@ sub setupBootloaderBefore { my ($o) = @_; require bootloader; + + #- remove previous ide-scsi lines + bootloader::modify_append($o->{bootloader}, sub { + my ($_simple, $dict) = @_; + @$dict = grep { $_->[1] ne 'ide-scsi' } @$dict; + }); + if ($o->{miscellaneous}{HDPARM}) { bootloader::set_append($o->{bootloader}, $_, 'autotune') foreach grep { /ide/ } all("/proc/ide"); } |