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
commitf1990b634f002820a3457368fb2697e50fc6f3cb (patch)
tree898663eab48a51e1ffdd1202a1804bd576a88f59
parent45c79c869cd7e1bb5cdba9b2f007a53b9f882ab2 (diff)
downloaddrakx-backup-do-not-use-f1990b634f002820a3457368fb2697e50fc6f3cb.tar
drakx-backup-do-not-use-f1990b634f002820a3457368fb2697e50fc6f3cb.tar.gz
drakx-backup-do-not-use-f1990b634f002820a3457368fb2697e50fc6f3cb.tar.bz2
drakx-backup-do-not-use-f1990b634f002820a3457368fb2697e50fc6f3cb.tar.xz
drakx-backup-do-not-use-f1990b634f002820a3457368fb2697e50fc6f3cb.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");