1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
systemd-stable/test/mkosi.default.networkd-test
Zbigniew Jędrzejewski-Szmek d688c5d653 mkosi: update rules in mkosi.default.networkd-test boot
We need to include ninja-build in the packages list because meson doesn't
depend on it (because it supports other backends too).

Also drop xz-devel, it's not crucial for the test.
2020-09-17 17:06:51 +02:00

82 lines
1.6 KiB
Plaintext

# Puts together an nspawn container and runs networkd-test.py in it, inside a
# network namespace and everything. Run this with
#
# mkosi -C test --default=mkosi.default.networkd-test boot
#
# This will start the test and eventually exit with success in case the test
# succeeded.
[Distribution]
Distribution=fedora
Release=32
[Output]
Format=raw_btrfs
Bootable=yes
OutputDirectory=../mkosi.output
Output=networkd-test.raw
[Partitions]
RootSize=3G
[Packages]
BuildPackages=
audit-libs-devel
bzip2-devel
cryptsetup-devel
dbus-devel
diffutils
docbook-style-xsl
elfutils-devel
gcc
gettext
git
gnu-efi
gnu-efi-devel
gnutls-devel
gperf
hostname
iptables-devel
kmod-devel
libacl-devel
libblkid-devel
libcap-devel
libcurl-devel
libgcrypt-devel
libidn2-devel
libmicrohttpd-devel
libmount-devel
libseccomp-devel
libselinux-devel
libxkbcommon-devel
libxslt
lz4
lz4-devel
m4
meson
ninja-build
pam-devel
pcre2-devel
pkgconfig
python3-devel
python3-lxml
qrencode-devel
tree
Packages=
dnsmasq
iproute
libidn2
polkit
python3
# Share caches with the top-level mkosi
BuildDirectory=../mkosi/mkosi.builddir
Cache=../mkosi/mkosi.cache
# Run our own script
BuildScript=mkosi.build.networkd-test
BuildSources=..
NSpawnSettings=mkosi.nspawn.networkd-test