summaryrefslogtreecommitdiffstats
path: root/rescue/bin
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/bin
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/bin')
-rwxr-xr-xrescue/bin/install_bootloader2
1 files changed, 2 insertions, 0 deletions
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");