summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index f15db5f51..9e8a7d66a 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -234,7 +234,7 @@ sub read {
}
sub read_grub2 {
- {};
+ my %bootloader = getVarsFromSh("$::prefix/boot/grub2/drakboot.conf");
}
sub read_grub {
@@ -1975,6 +1975,7 @@ sub install_grub2 {
run_program::rooted($::prefix, 'grub2-mkconfig', '2>', \$error, '-o', $grub2_cfg) or die "grub2-mkconfig failed: $error";
}
run_program::rooted($::prefix, 'grub2-install', '2>', \$error, $bootloader->{boot}) or die "grub2-install failed: $error";
+ setVarsInSh("$::prefix/boot/grub2/drakboot.conf", { boot => $bootloader->{boot} });
}
sub install_grub {