summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-02 00:20:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-02 00:20:48 +0000
commit919291c6a9b02174dd43e76325013a52ac47de7a (patch)
tree2a440d0de9d1cd77dbb83d94dbb968948562d84f /perl-install
parentab577dee1ee0160047f246c8d3c32dd40d12aa95 (diff)
downloaddrakx-919291c6a9b02174dd43e76325013a52ac47de7a.tar
drakx-919291c6a9b02174dd43e76325013a52ac47de7a.tar.gz
drakx-919291c6a9b02174dd43e76325013a52ac47de7a.tar.bz2
drakx-919291c6a9b02174dd43e76325013a52ac47de7a.tar.xz
drakx-919291c6a9b02174dd43e76325013a52ac47de7a.zip
fix grub installed on {first_hd_device} instead of {boot} (bug #1199)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 79e77c87f..e57fd67dc 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -996,7 +996,7 @@ sub write_grub_config {
}
}
}
- my $dev = dev2grub($bootloader->{first_hd_device} || $bootloader->{boot}, \%dev2bios);
+ my $dev = dev2grub($bootloader->{boot}, \%dev2bios);
my ($s1, $s2, $m) = map { $file2grub->("/boot/grub/$_") } qw(stage1 stage2 menu.lst);
my $f = "/boot/grub/install.sh";
output "$::prefix$f",