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, 5 Mar 2022 21:03:32 +0000 (21:03 +0000)
commit7f28c0f3f31be51c70c04d54bccc401d342fc4a2
treefc1069b455c4e963329778d06a1ffc4d631c9784
parente59c381e2321ae9e476c550d5a3d43a1fd0493ac
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.

(cherry picked from commit 21838f36a64e71dd6439692e57d629f27e4954ea)
.github/workflows/run_mkosi.sh