stages/systemd: ability to mask services

Add the ability to mask services, which is done e.g. when building
installers. See systemctl(1) for more information about masked
services.
Modify the existing stage test to include a test for it.
This commit is contained in:
Christian Kellner 2020-06-11 12:46:01 +02:00
parent 3d13c825c0
commit 7ac8f41798
3 changed files with 13 additions and 0 deletions

View file

@ -826,6 +826,9 @@
"enabled_services": [
"nftables"
],
"masked_services": [
"ldconfig"
],
"disabled_services": [
"sshd"
]

View file

@ -1,5 +1,6 @@
{
"added_files": [
"/etc/systemd/system/ldconfig.service",
"/etc/systemd/system/multi-user.target.wants/nftables.service"
],
"deleted_files": [