Explorar el Código

swupdate: introduce swupdate-ipc to factorize packages

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>
Stefano Babic hace 4 años
padre
commit
83739ad609
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      recipes-support/swupdate/swupdate.inc

+ 6 - 0
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/* \