[elbe-devel] [PATCH v2] init: spawn console for ttyS0 for systemd based systems
Torben Hohn
torben.hohn at linutronix.de
Thu Apr 4 10:08:27 CEST 2019
On Thu, Apr 04, 2019 at 09:06:59AM +0200, Manuel Traut wrote:
> If a stretch initvm was built no serial console was spawned on ttyS0.
> This is the reason why libvirt is not able to communicate with the
> initvm and 'elbe initvm attach/stop' doesn't work.
>
> Create the ttyS0 systemd symlink.
>
> Signed-off-by: Manuel Traut <manut at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
>
> changes since v1: create link unconditional
>
> elbepack/init/init-elbe.sh.mako | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/elbepack/init/init-elbe.sh.mako b/elbepack/init/init-elbe.sh.mako
> index 81f6b454..8fb0e6d6 100644
> --- a/elbepack/init/init-elbe.sh.mako
> +++ b/elbepack/init/init-elbe.sh.mako
> @@ -33,10 +33,7 @@ mkdir -p /buildenv/var/cache/elbe
> cp source.xml /buildenv/var/cache/elbe/
> cp /etc/apt/apt.conf /buildenv/etc/apt/apt.conf.d/50elbe
>
> -
> -% if prj.text('suite') == 'jessie':
> ln -s /lib/systemd/system/serial-getty at .service /buildenv/etc/systemd/system/getty.target.wants/serial-getty at ttyS0.service
> -% endif
>
> mkdir /buildenv/var/cache/elbe/installer
> cp initrd-cdrom.gz /buildenv/var/cache/elbe/installer
> --
> 2.20.1
>
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190404/266dc825/attachment.sig>
More information about the elbe-devel
mailing list