slinux: @$(call add_feature) in use/slinux only

use/slinux/services-enabled and use/slinux/services-disabled do not
require for work adding slinux feature. They need a use/services.
This commit is contained in:
Anton Midyukov 2022-04-11 16:10:08 +07:00
parent 68f1185a98
commit b8b6f77977

View File

@ -6,8 +6,7 @@ use/slinux: use/x11 use/volumes/alt-workstation
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
use/slinux/services-enabled:
@$(call add_feature)
use/slinux/services-enabled: use/services
@$(call add,SYSTEMD_SERVICES_ENABLE,NetworkManager.service)
@$(call add,SYSTEMD_SERVICES_ENABLE,NetworkManager-wait-online.service)
@$(call add,SYSTEMD_SERVICES_ENABLE,ModemManager.service)
@ -26,8 +25,7 @@ use/slinux/services-enabled:
@$(call add,SYSTEMD_SERVICES_ENABLE,smb.service)
@$(call add,SYSTEMD_SERVICES_ENABLE,x11presetdrv.service)
use/slinux/services-disabled:
@$(call add_feature)
use/slinux/services-disabled: use/services
@$(call add,SYSTEMD_SERVICES_DISABLE,acpid.service)
@$(call add,SYSTEMD_SERVICES_DISABLE,clamd.service)
@$(call add,SYSTEMD_SERVICES_DISABLE,consolesaver.service)