From f1990b634f002820a3457368fb2697e50fc6f3cb Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 18 May 2013 09:20:26 +0000 Subject: rescue: ensure /dev is bind mounted before re-installing bootloader (mga#10107) --- rescue/NEWS | 2 ++ rescue/install_bootloader | 2 ++ 2 files changed, 4 insertions(+) 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) { =~ /^n/i and exit 0; } +run_program::run('mount', '--bind', '/dev', "$::prefix/dev"); $install->(); +run_program::run('umount', "$::prefix/dev"); -- cgit v1.2.1