From 928b7219cd7079864eadadc66dbff21c5cd72804 Mon Sep 17 00:00:00 2001 From: Colin Foster Date: Wed, 8 Feb 2023 10:55:16 -0800 Subject: [PATCH] package/rauc-hawkbit-updater: new package Add useful tool for bridging RAUC with the Hawkbit API. Signed-off-by: Colin Foster Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/rauc-hawkbit-updater/Config.in | 20 +++++++++++++++++++ .../rauc-hawkbit-updater.hash | 3 +++ .../rauc-hawkbit-updater.mk | 15 ++++++++++++++ 5 files changed, 42 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/DEVELOPERS b/DEVELOPERS index 0bed35fd8e..3f9b29fe46 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -638,6 +638,9 @@ N: Clément Péron F: board/beelink/gs1/ F: configs/beelink_gs1_defconfig +N: Colin Foster +F: package/rauc-hawkbit-updater/ + N: Corentin Guillevic F: package/libloki/ diff --git a/package/Config.in b/package/Config.in index 9ee1893e45..4c763447e4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2715,6 +2715,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..dafc2f883c --- /dev/null +++ b/package/rauc-hawkbit-updater/Config.in @@ -0,0 +1,20 @@ +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..10ba91abbb --- /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 libcurl + +$(eval $(meson-package))