* [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency
@ 2024-07-10 9:41 Bartosz Bilas
2024-07-10 12:27 ` Thomas Petazzoni via buildroot
2024-07-23 14:34 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Bilas @ 2024-07-10 9:41 UTC (permalink / raw)
To: buildroot; +Cc: Bartosz Bilas, colin.foster
Take the systemd into account if present.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
index 3836d3c84e..5cbef28306 100644
--- a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
+++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
@@ -12,4 +12,11 @@ RAUC_HAWKBIT_UPDATER_LICENSE_FILES = LICENSE
RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib libcurl
RAUC_HAWKBIT_UPDATER_CFLAGS = $(TARGET_CFLAGS) -std=c99
+ifeq ($(BR2_INIT_SYSTEMD),y)
+RAUC_HAWKBIT_UPDATER_DEPENDENCIES += systemd
+RAUC_HAWKBIT_UPDATER_CONF_OPTS += -Dsystemd=enabled
+else
+RAUC_HAWKBIT_UPDATER_CONF_OPTS += -Dsystemd=disabled
+endif
+
$(eval $(meson-package))
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency
2024-07-10 9:41 [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency Bartosz Bilas
@ 2024-07-10 12:27 ` Thomas Petazzoni via buildroot
2024-07-23 14:34 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-10 12:27 UTC (permalink / raw)
To: Bartosz Bilas; +Cc: colin.foster, buildroot
Hello Bartosz,
On Wed, 10 Jul 2024 11:41:38 +0200
Bartosz Bilas <b.bilas@grinn-global.com> wrote:
> Take the systemd into account if present.
>
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Thanks patch applied, with some small changes.
Very minor: the commit title should have used
package/rauc-hawkbit-updater as the prefix.
> +ifeq ($(BR2_INIT_SYSTEMD),y)
We use BR2_PACKAGE_SYSTEMD here instead for most packages, so I did
that here as well.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency
2024-07-10 9:41 [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency Bartosz Bilas
2024-07-10 12:27 ` Thomas Petazzoni via buildroot
@ 2024-07-23 14:34 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-07-23 14:34 UTC (permalink / raw)
To: Bartosz Bilas; +Cc: colin.foster, buildroot
>>>>> "Bartosz" == Bartosz Bilas <b.bilas@grinn-global.com> writes:
> Take the systemd into account if present.
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Committed to 2024.02.x and 2024.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-23 14:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 9:41 [Buildroot] [PATCH] package: rauc-hawkbit-updater: add systemd optional dependency Bartosz Bilas
2024-07-10 12:27 ` Thomas Petazzoni via buildroot
2024-07-23 14:34 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox