summaryrefslogtreecommitdiff
path: root/morphlib/builder2.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-07-09 09:50:34 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-07-09 09:50:34 +0000
commitf3325d07ebaf7fdd85787520f7e2c3fb33b9f9cc (patch)
tree8716e5137836c244bdffa6879f4fd280ed6e090e /morphlib/builder2.py
parente129ee7d23add77ecc06c4e2ba7c63c18b8dfa50 (diff)
downloadmorph-f3325d07ebaf7fdd85787520f7e2c3fb33b9f9cc.tar.gz
SystemBuilder: mount rootfs rw initially
This is required for systemd's journald to start. This is probably a bad dependency in systemd, trying to start the journal before it has mounted everything properly. This required a compat change, it is a string to make it more noticeable that it's a temporary version.
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r--morphlib/builder2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index 41583149..36bcd7b6 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -646,7 +646,7 @@ class SystemBuilder(BuilderBase): # pragma: no cover
f.write('label linux\n')
f.write('kernel /boot/vmlinuz\n')
f.write('append root=/dev/sda1 rootflags=subvol=factory-run '
- 'init=/sbin/init ro\n')
+ 'init=/sbin/init rw\n')
def _create_subvolume_snapshot(self, path, source, target):
self.app.status(msg='Creating subvolume snapshot '