summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-15 07:14:17 -0400
committerThomas Backlund <tmb@mageia.org>2015-04-15 13:27:52 +0200
commit5095bce7a4c941684cf10cb1f671af9a7f90f110 (patch)
treee8f362bf67c96b15a15216b64a2a40fddce979ba /rescue
parentc4e4bca7d638098a1597ee0450f509b2a39df33b (diff)
downloaddrakx-5095bce7a4c941684cf10cb1f671af9a7f90f110.tar
drakx-5095bce7a4c941684cf10cb1f671af9a7f90f110.tar.gz
drakx-5095bce7a4c941684cf10cb1f671af9a7f90f110.tar.bz2
drakx-5095bce7a4c941684cf10cb1f671af9a7f90f110.tar.xz
drakx-5095bce7a4c941684cf10cb1f671af9a7f90f110.zip
fix reinstalling grub2 on UEFI (mga#15695)
Diffstat (limited to 'rescue')
-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");