]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Enable --qemu-headless option for all distros
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 7 Dec 2020 23:00:37 +0000 (23:00 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 8 Dec 2020 09:03:25 +0000 (10:03 +0100)
commitee2812da8fedb5d2d0205dd866fc7761202cd46d
treead7c258fc4bef07d5f78bf4cf806a19d40515e90
parentfc5dcf96978fba5e462ca9e65d4e22c7a714ff25
mkosi: Enable --qemu-headless option for all distros

--qemu-headless configures the generated image and mkosi's qemu
command to connect to the VM via the serial port. This allows
spawning a qemu VM within the user's terminal instead of spawning
a graphical GTK GUI. --qemu-headless sets TERM, COLUMNS and LINES
in serial-getty@ttyS0.service in the container which makes the
terminal in the VM behave almost equivalent to the one on the host.

This change makes testing changes to systemd using mkosi + QEMU a
lot easier compared to before as commands can be executed in the VM
from the comfort of one's terminal compared to the Linux console
available when running via the GTK GUI.
.mkosi/mkosi.arch
.mkosi/mkosi.debian
.mkosi/mkosi.fedora
.mkosi/mkosi.opensuse
.mkosi/mkosi.ubuntu