summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-03-26 14:07:37 (GMT)
committerRichard Maw <richard.maw@codethink.co.uk>2015-03-26 16:46:42 (GMT)
commita1629ded9eb499b55b547cd8caa0ade8233b32f4 (patch)
tree63fac182c060e5a1a329fe17b0a1c6d52a79ce43
parentaa2c42511e26b6e9b1a2063df40a7c5f0504add7 (diff)
downloadinstaller-scripts-a1629ded9eb499b55b547cd8caa0ade8233b32f4.tar.gz
Ensure /dev is mounted before installingHEADmaster
If we were pivoted into from an initramfs, then /dev is not populated with a devtmpfs, so we have to mount that ourselves. Change-Id: I0e298ae193246e9b0c80e1ea246b89287092ea6c
-rwxr-xr-xbaserock-installer2
1 files changed, 1 insertions, 1 deletions
diff --git a/baserock-installer b/baserock-installer
index e98ef1a..f33d90e 100755
--- a/baserock-installer
+++ b/baserock-installer
@@ -38,7 +38,7 @@ to_mount = (
('/proc', 'proc', 'none'),
('/sys', 'sysfs', 'none'),
('/tmp', 'tmpfs', 'none'),
-
+ ('/dev', 'devtmpfs', 'none'),
)
class NotDeviceError(Exception):