* [ptxdist] [PATCH] samba: do not unconditionally build with systemd support
@ 2020-03-21 11:00 Ulrich Ölmann
2020-04-01 15:06 ` [ptxdist] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Ölmann @ 2020-03-21 11:00 UTC (permalink / raw)
To: PTXdist Development Mailing List; +Cc: Ulrich Ölmann
Introduced by PTXdist's commit [1] the build time configuration option
"--with-systemd" has been used unconditionally. Amend that by explicitly
depending on a configuration variable.
[1] 93fce3eef4fc ("samba: version bump 3.0.37 -> 4.9.4")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
rules/samba.make | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rules/samba.make b/rules/samba.make
index 71832137a5b3..43fe4c597150 100644
--- a/rules/samba.make
+++ b/rules/samba.make
@@ -67,7 +67,7 @@ SAMBA_CONF_OPT := \
--disable-glusterfs \
--disable-cephfs \
--disable-spotlight \
- --with-systemd \
+ --$(call ptx/wwo, PTXCONF_SAMBA_SYSTEMD_UNIT)-systemd \
--without-lttng \
--accel-aes=$(call ptx/ifdef,PTXCONF_ARCH_X86_64,intelaesni,none) \
--enable-pthreadpool \
@@ -86,7 +86,7 @@ SAMBA_CONF_OPT := \
--enable-fhs \
--with-piddir=/run/samba \
--with-lockdir=/var/lib/samba/lock \
- --systemd-install-services \
+ $(call ptx/ifdef,PTXCONF_SAMBA_SYSTEMD_UNIT,--systemd-install-services,) \
--with-systemddir=/usr/lib/systemd/system
$(STATEDIR)/samba.prepare:
--
2.25.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] samba: do not unconditionally build with systemd support
2020-03-21 11:00 [ptxdist] [PATCH] samba: do not unconditionally build with systemd support Ulrich Ölmann
@ 2020-04-01 15:06 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-04-01 15:06 UTC (permalink / raw)
To: ptxdist; +Cc: u.oelmann
Thanks, applied as d40f6618950b66972682a5c3aeaecbb274de34a6.
Michael
[sent from post-receive hook]
On Wed, 01 Apr 2020 17:06:40 +0200, Ulrich Ãlmann <u.oelmann@pengutronix.de> wrote:
> Introduced by PTXdist's commit [1] the build time configuration option
> "--with-systemd" has been used unconditionally. Amend that by explicitly
> depending on a configuration variable.
>
> [1] 93fce3eef4fc ("samba: version bump 3.0.37 -> 4.9.4")
>
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
> rules/samba.make | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/rules/samba.make b/rules/samba.make
> index 71832137a5b3..43fe4c597150 100644
> --- a/rules/samba.make
> +++ b/rules/samba.make
> @@ -67,7 +67,7 @@ SAMBA_CONF_OPT := \
> --disable-glusterfs \
> --disable-cephfs \
> --disable-spotlight \
> - --with-systemd \
> + --$(call ptx/wwo, PTXCONF_SAMBA_SYSTEMD_UNIT)-systemd \
> --without-lttng \
> --accel-aes=$(call ptx/ifdef,PTXCONF_ARCH_X86_64,intelaesni,none) \
> --enable-pthreadpool \
> @@ -86,7 +86,7 @@ SAMBA_CONF_OPT := \
> --enable-fhs \
> --with-piddir=/run/samba \
> --with-lockdir=/var/lib/samba/lock \
> - --systemd-install-services \
> + $(call ptx/ifdef,PTXCONF_SAMBA_SYSTEMD_UNIT,--systemd-install-services,) \
> --with-systemddir=/usr/lib/systemd/system
>
> $(STATEDIR)/samba.prepare:
>
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-01 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 11:00 [ptxdist] [PATCH] samba: do not unconditionally build with systemd support Ulrich Ölmann
2020-04-01 15:06 ` [ptxdist] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox