summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rescue/NEWS2
-rwxr-xr-xrescue/bin/install_bootloader2
2 files changed, 4 insertions, 0 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index cd61e23ee..24815048a 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,5 @@
+- fix reinstalling grub2 on UEFI (mga#15695)
+
Version 1.50 - 9 January 2015 by Thomas Backlund
- add efibootmgr on x86_64
diff --git a/rescue/bin/install_bootloader b/rescue/bin/install_bootloader
index 7328de1d2..58ee44a23 100755
--- a/rescue/bin/install_bootloader
+++ b/rescue/bin/install_bootloader
@@ -68,5 +68,7 @@ if (!$auto) {
}
run_program::run('mount', '--bind', '/dev', "$::prefix/dev");
+run_program::run('mount', '--bind', '/sys', "$::prefix/sys");
$install->();
+run_program::run('umount', "$::prefix/sys");
run_program::run('umount', "$::prefix/dev");