package/samba4: enable systemd support

`--systemd-install-services` just installs samba's unit files,
whereas `--with-systemd` enables samba's own systemd integration,
used to send status updates to systemd.
I needed this because an app I'm writing needs to know
when samba is ready to start serving files.

Signed-off-by: Jesse Talavera <jesse@jesse.tg>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Jesse Talavera
2026-10-06 16:39:51 -04:00
committed by Peter Korsgaard
parent 846bdb2222
commit 042b25792b

View File

@@ -199,8 +199,10 @@ define SAMBA4_INSTALL_INIT_SYSV
endef
ifeq ($(BR2_INIT_SYSTEMD),y)
SAMBA4_CONF_OPTS += --systemd-install-services
SAMBA4_CONF_OPTS += --systemd-install-services --with-systemd
SAMBA4_DEPENDENCIES += systemd
else
SAMBA4_CONF_OPTS += --without-systemd
endif
define SAMBA4_INSTALL_INIT_SYSTEMD