summaryrefslogtreecommitdiffstats
path: root/rescue/install_bootloader
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-05-18 09:20:26 +0000
committerColin Guthrie <colin@mageia.org>2013-05-18 09:20:26 +0000
commitbeb86a6b0164771486b6eb68fb75e6d8696c5b5f (patch)
tree898663eab48a51e1ffdd1202a1804bd576a88f59 /rescue/install_bootloader
parentc3df7b7996e17455fb30f79d573b61741cc56223 (diff)
downloaddrakx-beb86a6b0164771486b6eb68fb75e6d8696c5b5f.tar
drakx-beb86a6b0164771486b6eb68fb75e6d8696c5b5f.tar.gz
drakx-beb86a6b0164771486b6eb68fb75e6d8696c5b5f.tar.bz2
drakx-beb86a6b0164771486b6eb68fb75e6d8696c5b5f.tar.xz
drakx-beb86a6b0164771486b6eb68fb75e6d8696c5b5f.zip
rescue: ensure /dev is bind mounted before re-installing bootloader (mga#10107)
Diffstat (limited to 'rescue/install_bootloader')
-rwxr-xr-xrescue/install_bootloader2
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/install_bootloader b/rescue/install_bootloader
index 117b217e2..7328de1d2 100755
--- a/rescue/install_bootloader
+++ b/rescue/install_bootloader
@@ -67,4 +67,6 @@ if (!$auto) {
<STDIN> =~ /^n/i and exit 0;
}
+run_program::run('mount', '--bind', '/dev', "$::prefix/dev");
$install->();
+run_program::run('umount', "$::prefix/dev");