* [Buildroot] [PATCH] package/rauc-hawkbit-updater: new package
@ 2023-02-08 18:55 Colin Foster
2023-02-21 21:36 ` Colin Foster
2023-08-10 21:33 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 4+ messages in thread
From: Colin Foster @ 2023-02-08 18:55 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan
Add useful tool for bridging RAUC with the Hawkbit API.
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
---
package/Config.in | 1 +
package/rauc-hawkbit-updater/Config.in | 14 ++++++++++++++
.../rauc-hawkbit-updater.hash | 3 +++
.../rauc-hawkbit-updater/rauc-hawkbit-updater.mk | 15 +++++++++++++++
4 files changed, 33 insertions(+)
create mode 100644 package/rauc-hawkbit-updater/Config.in
create mode 100644 package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
create mode 100644 package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
diff --git a/package/Config.in b/package/Config.in
index 511e691ed3..84e5efa856 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2677,6 +2677,7 @@ menu "System tools"
source "package/quota/Config.in"
source "package/quotatool/Config.in"
source "package/rauc/Config.in"
+ source "package/rauc-hawkbit-updater/Config.in"
source "package/rsyslog/Config.in"
source "package/runc/Config.in"
source "package/s390-tools/Config.in"
diff --git a/package/rauc-hawkbit-updater/Config.in b/package/rauc-hawkbit-updater/Config.in
new file mode 100644
index 0000000000..bd7b8d7cf5
--- /dev/null
+++ b/package/rauc-hawkbit-updater/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_RAUC_HAWKBIT_UPDATER
+ bool "rauc-hawkbit-updater"
+ depends on BR2_PACKAGE_RAUC
+ depends on BR2_PACKAGE_JSON_GLIB
+ help
+ rauc-hawkbit-updater is a link between Pengutronix
+ RAUC and the Eclipse Hawkbit API. Hawkbit can
+ communicate to remote update servers, and use the
+ d-bus interface to trigger updates from RAUC.
+
+ http://rauc.io/
+
+comment "rauc-hawkbit-updater needs rauc and json-glib"
+ depends on !BR2_PACKAGE_RAUC || !BR2_PACKAGE_JSON_GLIB
diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
new file mode 100644
index 0000000000..c65ead3784
--- /dev/null
+++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 42318e96a464e6c716edb45c48bd3ec3b874462973db902fbe099a395e4acb4b rauc-hawkbit-updater-1.3.tar.xz
+sha256 041234c81fd6fe6c531ea1a886b9e740b9ee06759d1a910a14edbd06f4aa62c7 LICENSE
diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
new file mode 100644
index 0000000000..5a74181361
--- /dev/null
+++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
@@ -0,0 +1,15 @@
+###############################################################################
+#
+# rauc-hawkbit-updater
+#
+###############################################################################
+
+RAUC_HAWKBIT_UPDATER_VERSION = 1.3
+RAUC_HAWKBIT_UPDATER_SITE = https://github.com/rauc/rauc-hawkbit-updater/releases/download/v$(RAUC_HAWKBIT_UPDATER_VERSION)
+RAUC_HAWKBIT_UPDATER_SOURCE = rauc-hawkbit-updater-$(RAUC_HAWKBIT_UPDATER_VERSION).tar.xz
+RAUC_HAWKBIT_UPDATER_LICENSE = LGPL-2.1
+RAUC_HAWKBIT_UPDATER_LICENSE_FILES = LICENSE
+RAUC_HAWKBIT_UPDATER_CPE_ID_VENDOR = pengutronix
+RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib
+
+$(eval $(meson-package))
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/rauc-hawkbit-updater: new package
2023-02-08 18:55 [Buildroot] [PATCH] package/rauc-hawkbit-updater: new package Colin Foster
@ 2023-02-21 21:36 ` Colin Foster
2023-02-23 19:18 ` Arnout Vandecappelle
2023-08-10 21:33 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 4+ messages in thread
From: Colin Foster @ 2023-02-21 21:36 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan
On Wed, Feb 08, 2023 at 10:55:16AM -0800, Colin Foster wrote:
> Add useful tool for bridging RAUC with the Hawkbit API.
>
> Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
I'm just sending this follow up to see if it fell through the cracks.
I can re-send otherwise.
I think Eric's email bounced, so hopefully that isn't the issue.
> ---
> package/Config.in | 1 +
> package/rauc-hawkbit-updater/Config.in | 14 ++++++++++++++
> .../rauc-hawkbit-updater.hash | 3 +++
> .../rauc-hawkbit-updater/rauc-hawkbit-updater.mk | 15 +++++++++++++++
> 4 files changed, 33 insertions(+)
> create mode 100644 package/rauc-hawkbit-updater/Config.in
> create mode 100644 package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
> create mode 100644 package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 511e691ed3..84e5efa856 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -2677,6 +2677,7 @@ menu "System tools"
> source "package/quota/Config.in"
> source "package/quotatool/Config.in"
> source "package/rauc/Config.in"
> + source "package/rauc-hawkbit-updater/Config.in"
> source "package/rsyslog/Config.in"
> source "package/runc/Config.in"
> source "package/s390-tools/Config.in"
> diff --git a/package/rauc-hawkbit-updater/Config.in b/package/rauc-hawkbit-updater/Config.in
> new file mode 100644
> index 0000000000..bd7b8d7cf5
> --- /dev/null
> +++ b/package/rauc-hawkbit-updater/Config.in
> @@ -0,0 +1,14 @@
> +config BR2_PACKAGE_RAUC_HAWKBIT_UPDATER
> + bool "rauc-hawkbit-updater"
> + depends on BR2_PACKAGE_RAUC
> + depends on BR2_PACKAGE_JSON_GLIB
> + help
> + rauc-hawkbit-updater is a link between Pengutronix
> + RAUC and the Eclipse Hawkbit API. Hawkbit can
> + communicate to remote update servers, and use the
> + d-bus interface to trigger updates from RAUC.
> +
> + http://rauc.io/
> +
> +comment "rauc-hawkbit-updater needs rauc and json-glib"
> + depends on !BR2_PACKAGE_RAUC || !BR2_PACKAGE_JSON_GLIB
> diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
> new file mode 100644
> index 0000000000..c65ead3784
> --- /dev/null
> +++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
> @@ -0,0 +1,3 @@
> +# Locally calculated
> +sha256 42318e96a464e6c716edb45c48bd3ec3b874462973db902fbe099a395e4acb4b rauc-hawkbit-updater-1.3.tar.xz
> +sha256 041234c81fd6fe6c531ea1a886b9e740b9ee06759d1a910a14edbd06f4aa62c7 LICENSE
> diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
> new file mode 100644
> index 0000000000..5a74181361
> --- /dev/null
> +++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
> @@ -0,0 +1,15 @@
> +###############################################################################
> +#
> +# rauc-hawkbit-updater
> +#
> +###############################################################################
> +
> +RAUC_HAWKBIT_UPDATER_VERSION = 1.3
> +RAUC_HAWKBIT_UPDATER_SITE = https://github.com/rauc/rauc-hawkbit-updater/releases/download/v$(RAUC_HAWKBIT_UPDATER_VERSION)
> +RAUC_HAWKBIT_UPDATER_SOURCE = rauc-hawkbit-updater-$(RAUC_HAWKBIT_UPDATER_VERSION).tar.xz
> +RAUC_HAWKBIT_UPDATER_LICENSE = LGPL-2.1
> +RAUC_HAWKBIT_UPDATER_LICENSE_FILES = LICENSE
> +RAUC_HAWKBIT_UPDATER_CPE_ID_VENDOR = pengutronix
> +RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib
> +
> +$(eval $(meson-package))
> --
> 2.25.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/rauc-hawkbit-updater: new package
2023-02-21 21:36 ` Colin Foster
@ 2023-02-23 19:18 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2023-02-23 19:18 UTC (permalink / raw)
To: Colin Foster, buildroot; +Cc: Eric Le Bihan
On 21/02/2023 22:36, Colin Foster wrote:
> On Wed, Feb 08, 2023 at 10:55:16AM -0800, Colin Foster wrote:
>> Add useful tool for bridging RAUC with the Hawkbit API.
>>
>> Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
>
> I'm just sending this follow up to see if it fell through the cracks.
> I can re-send otherwise.
No, it's still in patchwork [1] along with 286 other patches, so we'll get
around to it at some point.
Regards,
Arnout
[1]
https://patchwork.ozlabs.org/project/buildroot/patch/20230208185516.858096-1-colin.foster@in-advantage.com/
>
> I think Eric's email bounced, so hopefully that isn't the issue.
>
>> ---
>> package/Config.in | 1 +
>> package/rauc-hawkbit-updater/Config.in | 14 ++++++++++++++
>> .../rauc-hawkbit-updater.hash | 3 +++
>> .../rauc-hawkbit-updater/rauc-hawkbit-updater.mk | 15 +++++++++++++++
>> 4 files changed, 33 insertions(+)
>> create mode 100644 package/rauc-hawkbit-updater/Config.in
>> create mode 100644 package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
>> create mode 100644 package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
>>
>> diff --git a/package/Config.in b/package/Config.in
>> index 511e691ed3..84e5efa856 100644
>> --- a/package/Config.in
>> +++ b/package/Config.in
>> @@ -2677,6 +2677,7 @@ menu "System tools"
>> source "package/quota/Config.in"
>> source "package/quotatool/Config.in"
>> source "package/rauc/Config.in"
>> + source "package/rauc-hawkbit-updater/Config.in"
>> source "package/rsyslog/Config.in"
>> source "package/runc/Config.in"
>> source "package/s390-tools/Config.in"
>> diff --git a/package/rauc-hawkbit-updater/Config.in b/package/rauc-hawkbit-updater/Config.in
>> new file mode 100644
>> index 0000000000..bd7b8d7cf5
>> --- /dev/null
>> +++ b/package/rauc-hawkbit-updater/Config.in
>> @@ -0,0 +1,14 @@
>> +config BR2_PACKAGE_RAUC_HAWKBIT_UPDATER
>> + bool "rauc-hawkbit-updater"
>> + depends on BR2_PACKAGE_RAUC
>> + depends on BR2_PACKAGE_JSON_GLIB
>> + help
>> + rauc-hawkbit-updater is a link between Pengutronix
>> + RAUC and the Eclipse Hawkbit API. Hawkbit can
>> + communicate to remote update servers, and use the
>> + d-bus interface to trigger updates from RAUC.
>> +
>> + http://rauc.io/
>> +
>> +comment "rauc-hawkbit-updater needs rauc and json-glib"
>> + depends on !BR2_PACKAGE_RAUC || !BR2_PACKAGE_JSON_GLIB
>> diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
>> new file mode 100644
>> index 0000000000..c65ead3784
>> --- /dev/null
>> +++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
>> @@ -0,0 +1,3 @@
>> +# Locally calculated
>> +sha256 42318e96a464e6c716edb45c48bd3ec3b874462973db902fbe099a395e4acb4b rauc-hawkbit-updater-1.3.tar.xz
>> +sha256 041234c81fd6fe6c531ea1a886b9e740b9ee06759d1a910a14edbd06f4aa62c7 LICENSE
>> diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
>> new file mode 100644
>> index 0000000000..5a74181361
>> --- /dev/null
>> +++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
>> @@ -0,0 +1,15 @@
>> +###############################################################################
>> +#
>> +# rauc-hawkbit-updater
>> +#
>> +###############################################################################
>> +
>> +RAUC_HAWKBIT_UPDATER_VERSION = 1.3
>> +RAUC_HAWKBIT_UPDATER_SITE = https://github.com/rauc/rauc-hawkbit-updater/releases/download/v$(RAUC_HAWKBIT_UPDATER_VERSION)
>> +RAUC_HAWKBIT_UPDATER_SOURCE = rauc-hawkbit-updater-$(RAUC_HAWKBIT_UPDATER_VERSION).tar.xz
>> +RAUC_HAWKBIT_UPDATER_LICENSE = LGPL-2.1
>> +RAUC_HAWKBIT_UPDATER_LICENSE_FILES = LICENSE
>> +RAUC_HAWKBIT_UPDATER_CPE_ID_VENDOR = pengutronix
>> +RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib
>> +
>> +$(eval $(meson-package))
>> --
>> 2.25.1
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/rauc-hawkbit-updater: new package
2023-02-08 18:55 [Buildroot] [PATCH] package/rauc-hawkbit-updater: new package Colin Foster
2023-02-21 21:36 ` Colin Foster
@ 2023-08-10 21:33 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-10 21:33 UTC (permalink / raw)
To: Colin Foster; +Cc: Eric Le Bihan, buildroot
Hello Colin,
On Wed, 8 Feb 2023 10:55:16 -0800
Colin Foster <colin.foster@in-advantage.com> wrote:
> Add useful tool for bridging RAUC with the Hawkbit API.
>
> Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Sorry for the very slow feedback, but I have finally reviewed... and
applied your patch! See below some comments.
> ---
> package/Config.in | 1 +
> package/rauc-hawkbit-updater/Config.in | 14 ++++++++++++++
> .../rauc-hawkbit-updater.hash | 3 +++
> .../rauc-hawkbit-updater/rauc-hawkbit-updater.mk | 15 +++++++++++++++
> 4 files changed, 33 insertions(+)
Entry in the DEVELOPERS file was missing.
> diff --git a/package/rauc-hawkbit-updater/Config.in b/package/rauc-hawkbit-updater/Config.in
> new file mode 100644
> index 0000000000..bd7b8d7cf5
> --- /dev/null
> +++ b/package/rauc-hawkbit-updater/Config.in
> @@ -0,0 +1,14 @@
> +config BR2_PACKAGE_RAUC_HAWKBIT_UPDATER
> + bool "rauc-hawkbit-updater"
> + depends on BR2_PACKAGE_RAUC
> + depends on BR2_PACKAGE_JSON_GLIB
We want those dependencies to be using "select" instead. Also the
dependency on libcurl was missing.
The indentation of the file was also not correct (we use one tab for
depends on/bool/select), and one tab + 2 spaces for the help text. This
is checked by running "make check-package".
Overall, Config.in now looks like this:
+config BR2_PACKAGE_RAUC_HAWKBIT_UPDATER
+ bool "rauc-hawkbit-updater"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # rauc, json-glib
+ depends on BR2_USE_MMU # rauc, json-glib
+ depends on BR2_USE_WCHAR # rauc, json-glib
+ select BR2_PACKAGE_JSON_GLIB
+ select BR2_PACKAGE_LIBCURL
+ # runtime
+ select BR2_PACKAGE_RAUC
+ help
+ rauc-hawkbit-updater is a link between Pengutronix RAUC and
+ the Eclipse Hawkbit API. Hawkbit can communicate to remote
+ update servers, and use the d-bus interface to trigger
+ updates from RAUC.
+
+ http://rauc.io/
+
+comment "rauc-hawkbit-updater needs a toolchain w/ wchar, threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
> diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
> new file mode 100644
> index 0000000000..c65ead3784
> --- /dev/null
> +++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.hash
> @@ -0,0 +1,3 @@
> +# Locally calculated
> +sha256 42318e96a464e6c716edb45c48bd3ec3b874462973db902fbe099a395e4acb4b rauc-hawkbit-updater-1.3.tar.xz
> +sha256 041234c81fd6fe6c531ea1a886b9e740b9ee06759d1a910a14edbd06f4aa62c7 LICENSE
> diff --git a/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
> new file mode 100644
> index 0000000000..5a74181361
> --- /dev/null
> +++ b/package/rauc-hawkbit-updater/rauc-hawkbit-updater.mk
> @@ -0,0 +1,15 @@
> +###############################################################################
> +#
> +# rauc-hawkbit-updater
> +#
> +###############################################################################
This comment header was also causing some "make check-package" warnings
due to an incorrect number of # signs.
> +
> +RAUC_HAWKBIT_UPDATER_VERSION = 1.3
> +RAUC_HAWKBIT_UPDATER_SITE = https://github.com/rauc/rauc-hawkbit-updater/releases/download/v$(RAUC_HAWKBIT_UPDATER_VERSION)
> +RAUC_HAWKBIT_UPDATER_SOURCE = rauc-hawkbit-updater-$(RAUC_HAWKBIT_UPDATER_VERSION).tar.xz
> +RAUC_HAWKBIT_UPDATER_LICENSE = LGPL-2.1
> +RAUC_HAWKBIT_UPDATER_LICENSE_FILES = LICENSE
> +RAUC_HAWKBIT_UPDATER_CPE_ID_VENDOR = pengutronix
> +RAUC_HAWKBIT_UPDATER_DEPENDENCIES = json-glib
libcurl was missing here
Applied to next with those different changes. Thanks for your
contribution, and again sorry for the very late feedback.
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] 4+ messages in thread
end of thread, other threads:[~2023-08-10 21:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08 18:55 [Buildroot] [PATCH] package/rauc-hawkbit-updater: new package Colin Foster
2023-02-21 21:36 ` Colin Foster
2023-02-23 19:18 ` Arnout Vandecappelle
2023-08-10 21:33 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox