diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-05-06 13:11:49 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-05-06 13:11:49 +0000 |
commit | 3250d3f4fad9f68b3dcdc5bce2afe5a2a34d790f (patch) | |
tree | 3d9f5a32303a8d97b4b457949e64bb42b4850ea9 | |
parent | 8c048cccc0ad293ebbc498b792e1798ece182124 (diff) | |
download | drakx-backup-do-not-use-3250d3f4fad9f68b3dcdc5bce2afe5a2a34d790f.tar drakx-backup-do-not-use-3250d3f4fad9f68b3dcdc5bce2afe5a2a34d790f.tar.gz drakx-backup-do-not-use-3250d3f4fad9f68b3dcdc5bce2afe5a2a34d790f.tar.bz2 drakx-backup-do-not-use-3250d3f4fad9f68b3dcdc5bce2afe5a2a34d790f.tar.xz drakx-backup-do-not-use-3250d3f4fad9f68b3dcdc5bce2afe5a2a34d790f.zip |
Fix drakboot booloader methods for ia64 and amd64
-rwxr-xr-x | perl-install/standalone/drakboot | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index ade6207de..f2ed2b921 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -1,6 +1,7 @@ #!/usr/bin/perl use lib qw(/usr/lib/libDrakX); +use MDK::Common; use standalone; #- warning, standalone must be loaded very first, for 'explanations' @@ -38,7 +39,13 @@ sub lilo_choice { my $bootloader = bootloader::read(); local ($_) = `detectloader`; - $bootloader->{methods} = { lilo => 1, grub => !!/grub/i, if_(arch() =~ /ppc/, yaboot => 1) }; + $bootloader->{methods} = { + if_(arch() =~ /ppc/, yaboot => 1), + if_(arch() =~ /sparc/, silo => 1), + if_(arch() =~ /ia64/, elilo => 1), + if_(arch() =~ /i.86|x86_64/, lilo => 1), + if_(arch() =~ /i.86/, grub => !!/grub/i) + }; my ($all_hds) = fsedit::get_hds(); my $fstab = [ fsedit::get_all_fstab($all_hds) ]; |