diff mbox series

[meta-swupdate,V2,1/3] swupdate: introduce swupdate-ipc to factorize packages

Message ID 20211208133725.525229-1-sbabic@denx.de
State Accepted
Headers show
Series [meta-swupdate,V2,1/3] swupdate: introduce swupdate-ipc to factorize packages | expand

Commit Message

Stefano Babic Dec. 8, 2021, 1:37 p.m. UTC
Several tools in SWUpdate was replaced by a single tool (swupdate-ipc).
To avoid breakage, recipe will still build old and new packages. Since
release 2021.11, the swupdate-tools-ipc must be used.

These packages will be removed later:

	swupdate-tools-hawkbit
	swupdate-tools

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 recipes-support/swupdate/swupdate.inc | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index 82911f9..ff1f25c 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -38,6 +38,7 @@  PACKAGES =+ " \
     ${PN}-progress \
     ${PN}-tools \
     ${PN}-tools-hawkbit \
+    ${PN}-tools-ipc \
     ${PN}-usb \
     ${PN}-www \
 "
@@ -46,6 +47,8 @@  wwwdir ?= "/www"
 
 # tools is now an empty meta package for backward compatibility
 ALLOW_EMPTY:${PN}-tools = "1"
+ALLOW_EMPTY:${PN}-tools-hawkbit = "1"
+ALLOW_EMPTY:${PN}-tools-ipc = "1"
 
 FILES:${PN}-client = "${bindir}/swupdate-client"
 FILES:${PN}-lua += "${libdir}/lua/"
@@ -62,6 +65,9 @@  FILES:${PN}-tools-hawkbit = " \
     ${bindir}/swupdate-hawkbitcfg \
     ${bindir}/swupdate-sendtohawkbit \
 "
+FILES:${PN}-tools-ipc = " \
+    ${bindir}/swupdate-ipc \
+"
 FILES:${PN} += " \
     ${libdir}/tmpfiles.d \
     ${libdir}/swupdate/* \