summaryrefslogtreecommitdiffstats
path: root/rescue/bin
diff options
context:
space:
mode:
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");