Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Talavera <jesse@jesse.tg>
To: buildroot@buildroot.org
Cc: Bernd Kuhls <bernd@kuhls.net>, Jesse Talavera <jesse@jesse.tg>
Subject: [Buildroot] [PATCH 1/1] package/samba4: enable systemd support
Date: Tue,  6 Oct 2026 16:39:51 -0400	[thread overview]
Message-ID: <20261006203951.501419-1-jesse@jesse.tg> (raw)
In-Reply-To: 20261006203951.501419-1-jesse.ref@jesse.tg

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

       reply	other threads:[~2026-10-06 20:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261006203951.501419-1-jesse.ref@jesse.tg>
2026-10-06 20:39 ` Jesse Talavera [this message]
2026-10-07  5:47   ` [Buildroot] [PATCH 1/1] package/samba4: enable systemd support Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261006203951.501419-1-jesse@jesse.tg \
    --to=jesse@jesse.tg \
    --cc=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox