From 5b2538065e8bd7804e2d2ab9c8a556ea653e8a3b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 19 May 2003 14:05:18 +0000 Subject: when configuring to install grub bootloader, we first install lilo, then grub. the logic is that we only reread /etc/lilo.conf[1], so we need to write /etc/lilo.conf. but when installing grub, we really do not need to run lilo, we only have to write its config file. [1] because grub/menu.lst lacks some data and because we do neither want to parse both config files nor to resolve conflicts between configuration --- perl-install/bootloader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index aad6fd806..6d9b1047f 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -938,7 +938,7 @@ sub install_lilo { write_lilo_conf($bootloader, $fstab, $hds); - if (!$::testing && arch() !~ /ia64/) { + if (!$::testing && arch() !~ /ia64/ && $bootloader->{method} =~ /lilo/) { log::l("Installing boot loader..."); my $error; run_program::rooted($::prefix, "lilo", "2>", \$error) or die "lilo failed: $error"; -- cgit v1.2.1