diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 10:50:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 10:50:43 +0000 |
commit | fb62b20aca6f56c54d8f3ba97e32f7fd0bcfe3f9 (patch) | |
tree | 80de27200debf22c5e618f68bd64ec0c87621859 | |
parent | d4a689e7bffda67dba9e9053ee2b37f42fc30e5f (diff) | |
download | drakx-fb62b20aca6f56c54d8f3ba97e32f7fd0bcfe3f9.tar drakx-fb62b20aca6f56c54d8f3ba97e32f7fd0bcfe3f9.tar.gz drakx-fb62b20aca6f56c54d8f3ba97e32f7fd0bcfe3f9.tar.bz2 drakx-fb62b20aca6f56c54d8f3ba97e32f7fd0bcfe3f9.tar.xz drakx-fb62b20aca6f56c54d8f3ba97e32f7fd0bcfe3f9.zip |
(suggest_floppy): don't add an entry for non-fd0 drives
-rw-r--r-- | perl-install/bootloader.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 6483c7958..eb0165df9 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -389,6 +389,9 @@ wait %d seconds for default boot. sub suggest_floppy { my ($bootloader) = @_; + my $floppy = detect_devices::floppy() or return; + $floppy eq 'fd0' or log::l("suggest_floppy: not adding $floppy"), return; + add_entry($bootloader->{entries}, { type => 'other', |