mirror of
https://github.com/systemd/systemd
synced 2024-11-03 03:31:30 +00:00
ee2812da8f
--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.
61 lines
1 KiB
Text
61 lines
1 KiB
Text
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# Copyright © 2016 Zeal Jagannatha
|
|
|
|
# This is a settings file for OS image generation using mkosi (https://github.com/systemd/mkosi).
|
|
# Symlink this file to mkosi.default in the project root directory and invoke "mkosi" to build an OS image.
|
|
|
|
[Distribution]
|
|
Distribution=arch
|
|
|
|
[Output]
|
|
Format=raw_btrfs
|
|
Bootable=yes
|
|
|
|
[Partitions]
|
|
RootSize=3G
|
|
|
|
[Packages]
|
|
Cache=/var/cache/pacman/pkg/
|
|
BuildPackages=
|
|
acl
|
|
bzip2
|
|
cryptsetup
|
|
curl
|
|
dbus
|
|
diffutils
|
|
docbook-xsl
|
|
elfutils
|
|
gcc
|
|
git
|
|
gnu-efi-libs
|
|
gnutls
|
|
gperf
|
|
inetutils
|
|
iptables
|
|
kmod
|
|
libcap
|
|
libgcrypt
|
|
libidn2
|
|
libmicrohttpd
|
|
libseccomp
|
|
libutil-linux
|
|
libxkbcommon
|
|
libxslt
|
|
lz4
|
|
m4
|
|
meson
|
|
pam
|
|
pkgconfig
|
|
python
|
|
python-lxml
|
|
qrencode
|
|
xz
|
|
zstd
|
|
|
|
Packages=
|
|
libidn2
|
|
qrencode
|
|
|
|
[Host]
|
|
QemuHeadless=yes
|