diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-06 15:25:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-06 15:25:28 +0000 |
commit | 67b53f4298b8536bc5cea5c1aff0c538e0925c3d (patch) | |
tree | 3002374dc465a2df19642445548f125a7ecf0cc1 /perl-install/bootloader.pm | |
parent | e4ebaadadb7ee531304a72e2127f4b0626c321cc (diff) | |
download | drakx-67b53f4298b8536bc5cea5c1aff0c538e0925c3d.tar drakx-67b53f4298b8536bc5cea5c1aff0c538e0925c3d.tar.gz drakx-67b53f4298b8536bc5cea5c1aff0c538e0925c3d.tar.bz2 drakx-67b53f4298b8536bc5cea5c1aff0c538e0925c3d.tar.xz drakx-67b53f4298b8536bc5cea5c1aff0c538e0925c3d.zip |
remove mkbootdisk support
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index c6d3b935e..6e86c0bef 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -68,14 +68,6 @@ sub mkinitrd { -e "$::prefix/$initrdImage"; } -sub mkbootdisk { - my ($kernelVersion, $dev, $append) = @_; - - modules::load(if_(arch() =~ /sparc/, 'romfs'), 'loop', 'vfat'); - my @l = if_($append, '--appendargs', $append); - run_program::rooted_or_die($::prefix, 'mkbootdisk', '--noprompt', @l, '--device', "/dev/$dev", $kernelVersion); -} - sub read() { my $file = sprintf("/etc/%s.conf", arch() =~ /sparc/ ? 'silo' : arch() =~ /ppc/ ? 'yaboot' : 'lilo'); my $bootloader = $file =~ /lilo/ && detect_bootloader() =~ /GRUB/ ? read_grub() : read_lilo($file); |