summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--rescue/NEWS2
-rwxr-xr-xrescue/install_bootloader2
2 files changed, 4 insertions, 0 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index 3c27b94d7..15236c088 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,5 @@
+- ensure /dev is bind mounted before re-installing bootloader (mga#10107)
+
Version 1.43 - 15 May 2013 by Colin Guthrie
- ensure grabjournallogs script is executable (mga#10108)
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");