diff mbox series

[meta-swupdate] : add DEPENDS for zstd

Message ID 4d0adab276f0bc9d60dbf6396a85c5558f1ac49f.camel@siemens.com
State Accepted
Headers show
Series [meta-swupdate] : add DEPENDS for zstd | expand

Commit Message

Freihofer, Adrian Jan. 30, 2020, 7:12 a.m. UTC
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 recipes-support/swupdate/swupdate.inc | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-
support/swupdate/swupdate.inc
index 700d5a1..ec10989 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -163,6 +163,10 @@  python () {
         depends = d.getVar('DEPENDS', False)
         d.setVar('DEPENDS', depends + ' efibootguard')
 
+    if 'CONFIG_ZSTD=y\n' in features:
+        depends = d.getVar('DEPENDS', False)
+        d.setVar('DEPENDS', depends + ' zstd')
+
     # Values not used here might be used in a bbappend
     d.setVar('SWUPDATE_SOCKET_CTRL_PATH', '/tmp/sockinstctrl')
     d.setVar('SWUPDATE_SOCKET_PROGRESS_PATH', '/tmp/swupdateprog')