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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-09-17 15:51:34 +02:00
parent 050b4981e0
commit d688c5d653
2 changed files with 11 additions and 7 deletions

View File

@ -53,6 +53,7 @@ BuildPackages=
lz4-devel
m4
meson
ninja-build
openssl-devel
p11-kit-devel
pam-devel

View File

@ -1,11 +1,14 @@
# Puts together an nspawn container and runs networkd-test.py in it, inside a
# network namespace and everything. Run this with "mkosi
# --default=mkosi.default.networkd-test boot". This will start the test and
# eventually exit with success in case the test succeeded.
# 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=29
Release=32
[Output]
Format=raw_btrfs
@ -51,6 +54,7 @@ BuildPackages=
lz4-devel
m4
meson
ninja-build
pam-devel
pcre2-devel
pkgconfig
@ -58,7 +62,6 @@ BuildPackages=
python3-lxml
qrencode-devel
tree
xz-devel
Packages=
dnsmasq
@ -68,8 +71,8 @@ Packages=
python3
# Share caches with the top-level mkosi
BuildDirectory=../mkosi.builddir
Cache=../mkosi.cache
BuildDirectory=../mkosi/mkosi.builddir
Cache=../mkosi/mkosi.cache
# Run our own script
BuildScript=mkosi.build.networkd-test