summaryrefslogtreecommitdiff
path: root/morphlib/builder.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2011-12-09 08:43:58 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2011-12-09 08:43:58 +0000
commitdf5f28aecc78d3c5b6049e914d6777ac3529e5da (patch)
treef29374de3db305617e58c74143e276900b75db70 /morphlib/builder.py
parenta2634251b06bdf0b917d21b458e868722de7c541 (diff)
downloadmorph-df5f28aecc78d3c5b6049e914d6777ac3529e5da.tar.gz
Add terminal login support
Alter extlinux.conf so that /sbin/init is used instead of /bin/sh
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r--morphlib/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py
index 26693ac7..f2c74db4 100644
--- a/morphlib/builder.py
+++ b/morphlib/builder.py
@@ -397,7 +397,7 @@ timeout 1
label linux
kernel /vmlinuz
-append root=/dev/sda1 init=/bin/sh quiet rw
+append root=/dev/sda1 init=/sbin/init quiet rw
''', as_root=True, stdout=open(os.devnull, 'w'))
self.ex.runv(['extlinux', '--install', mount_point], as_root=True)