]> xenbits.xensource.com Git - people/sstabellini/mojo.git/.git/commitdiff
Fix getty listening terminals
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 16 Nov 2017 01:59:54 +0000 (17:59 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 16 Nov 2017 01:59:54 +0000 (17:59 -0800)
Add hvc0 to both securetty and inittab.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
dom0/alpine-assemble

index 47ef61788ae5cb28d18c36d7fea2857765469a18..bc4e06b86f31dd3c27de9c9b51679b693ca6581e 100644 (file)
@@ -16,7 +16,9 @@ RUN \
        echo "auto eth0" >> /etc/network/interfaces && \
        echo "iface eth0 inet dhcp" >> /etc/network/interfaces && \
        echo "ttyS0" >> /etc/securetty && \
+       echo "hvc0" >> /etc/securetty && \
        echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab && \
+       echo "hvc0::respawn:/sbin/getty -L hvc0 115200 vt100" >> /etc/inittab && \
 # Xen run deps
     apk add python2 gettext zlib ncurses dev86 texinfo yajl curl libaio autoconf automake iasl make xz-dev bash util-linux argp-standalone && \
        rc-update add xencommons && \