mkosi CI: mask isc-dhcp-server units
authorLuca Boccassi <bluca@debian.org>
Fri, 18 Feb 2022 22:56:56 +0000 (22:56 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 19 Feb 2022 14:01:17 +0000 (14:01 +0000)
commit21838f36a64e71dd6439692e57d629f27e4954ea
tree5c0f66faab22c7cefff94140c16b47641d006ffa
parenta59e5c625da5a6e0c46e493d55f2f4212e9457ca
mkosi CI: mask isc-dhcp-server units

The packages are installed to provide the dhcpd binary, used by
test/test-network/systemd-networkd-tests.py, but we don't need the units
to run, and in fact in some cases the image fails to boot because of
them:

Spawning container image on /home/runner/work/systemd/systemd/image.raw.
Press ^] three times within 1s to kill container.
● isc-dhcp-server.service  loaded failed failed ISC DHCP IPv4 server
● isc-dhcp-server6.service loaded failed failed ISC DHCP IPv6 server
Container image failed with error code 1.
Error: Process completed with exit code 1.

Mask the units with an --extra-tree.
.github/workflows/run_mkosi.sh