diff mbox series

[meta-swupdate] Add dependency from zchunk if DELTA is set

Message ID 20220520100635.2263204-1-sbabic@denx.de
State Accepted
Headers show
Series [meta-swupdate] Add dependency from zchunk if DELTA is set | expand

Commit Message

Stefano Babic May 20, 2022, 10:06 a.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 recipes-support/swupdate/swupdate.inc | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index 73f0777..0f78197 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -181,6 +181,9 @@  python () {
     if 'CONFIG_DISKPART=y\n' in features:
         depends += ' util-linux e2fsprogs'
 
+    if 'CONFIG_DELTA=y\n' in features:
+        depends += ' zchunk'
+
     d.setVar('DEPENDS', depends)
 
     if 'CONFIG_MONGOOSE=y\n' in features: