mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-20 15:51:52 -09:00
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:
committed by
Peter Korsgaard
parent
846bdb2222
commit
042b25792b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user