Bladeren bron

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 4 jaren geleden
bovenliggende
commit
8a02be98e0
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  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/* \