Skip to contentSkip to conversation

package/samba4: enable systemd support

PATCH In review Jesse Talavera 2 participants 2 messages Oct 6 – Oct 7 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 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.

---
 package/samba4/samba4.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/samba4/samba4.mk +3 -1
index a9e1577e26..6f4a75f4b0 100644
@@ -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
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jesse" == Jesse Talavera <[email protected]> writes:

--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.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot