Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/samba4: enable systemd support
       [not found] <20261006203951.501419-1-jesse.ref@jesse.tg>
@ 2026-10-06 20:39 ` Jesse Talavera
  2026-10-07  5:47   ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Talavera @ 2026-10-06 20:39 UTC (permalink / raw)
  To: buildroot; +Cc: Bernd Kuhls, Jesse Talavera

`--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>
---
 package/samba4/samba4.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index a9e1577e26..6f4a75f4b0 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -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
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/samba4: enable systemd support
  2026-10-06 20:39 ` [Buildroot] [PATCH 1/1] package/samba4: enable systemd support Jesse Talavera
@ 2026-10-07  5:47   ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2026-10-07  5:47 UTC (permalink / raw)
  To: Jesse Talavera; +Cc: buildroot, Bernd Kuhls

>>>>> "Jesse" == Jesse Talavera <jesse@jesse.tg> 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.

 > Signed-off-by: Jesse Talavera <jesse@jesse.tg>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-07  6:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261006203951.501419-1-jesse.ref@jesse.tg>
2026-10-06 20:39 ` [Buildroot] [PATCH 1/1] package/samba4: enable systemd support Jesse Talavera
2026-10-07  5:47   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox