summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2003-05-06 13:11:49 +0000
committerMystery Man <unknown@mandriva.org>2003-05-06 13:11:49 +0000
commit3f5d21d90abbd16f16ab69aec1e1a1853a93fd18 (patch)
tree3d9f5a32303a8d97b4b457949e64bb42b4850ea9 /perl-install/standalone/drakboot
parent327bd24f8e4291bd1882de1990dd7339f781a9cb (diff)
downloaddrakx-R9_0-AMD64.tar
drakx-R9_0-AMD64.tar.gz
drakx-R9_0-AMD64.tar.bz2
drakx-R9_0-AMD64.tar.xz
drakx-R9_0-AMD64.zip
This commit was manufactured by cvs2svn to create tag 'R9_0-AMD64'.R9_0-AMD64
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot9
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) ];