diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-29 21:25:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-29 21:25:16 +0000 |
commit | a2ea000aa3aaaa1371542a2649adbd8b4c29c185 (patch) | |
tree | e8960ca9742f357583e8beaa67da252304b6152f | |
parent | 2779dd641ce084eb6531876fc0c42704d7e462de (diff) | |
download | drakx-a2ea000aa3aaaa1371542a2649adbd8b4c29c185.tar drakx-a2ea000aa3aaaa1371542a2649adbd8b4c29c185.tar.gz drakx-a2ea000aa3aaaa1371542a2649adbd8b4c29c185.tar.bz2 drakx-a2ea000aa3aaaa1371542a2649adbd8b4c29c185.tar.xz drakx-a2ea000aa3aaaa1371542a2649adbd8b4c29c185.zip |
(mkbootdisk): cleanup
-rw-r--r-- | perl-install/bootloader.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index df680587f..ab4dbcc69 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -80,12 +80,7 @@ sub mkbootdisk($$$;$) { modules::load_multi(arch() =~ /sparc/ ? 'romfs' : (), 'loop'); my @l = qw(mkbootdisk --noprompt); push @l, "--appendargs", $append if $append; - if ($dev =~ /fd/) { - devices::make($dev . 'H1440'); - } else { - push @l, "--bios", 0, if $dev !~ /fd/; - } - eval { modules::load_multi(qw(msdos vfat)) }; + eval { modules::load('vfat') }; run_program::rooted_or_die($prefix, @l, "--device", "/dev/$dev", $kernelVersion); } |