[PATCH v1 1/1] swupdate: add xz dependency for CONFIG_XZ

13 views
Skip to first unread message

He Yong

unread,
May 21, 2026, 12:09:38 AMMay 21
to swup...@googlegroups.com
Add xz to DEPENDS so builds with CONFIG_XZ=y have the required headers and library available.

Signed-off-by: He Yong <hyy...@163.com>
---
recipes-support/swupdate/swupdate.inc | 3 +++
1 file changed, 3 insertions(+)

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index fa7a3f3..17715a4 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -198,6 +198,9 @@ python () {
if 'CONFIG_ZSTD=y\n' in features:
depends += ' zstd'

+ if 'CONFIG_XZ=y\n' in features:
+ depends += ' xz'
+
if 'CONFIG_DISKPART=y\n' in features:
depends += ' util-linux e2fsprogs'

--
2.43.0

Stefano Babic

unread,
May 26, 2026, 8:51:05 AM (10 days ago) May 26
to He Yong, swup...@googlegroups.com
Applied to -master, -whinlatter, -scarthgap and -wrynose, thanks !

Best regards,
Stefano Babic
--
_______________________________________________________________________
Nabla Software Engineering GmbH
Hirschstr. 111A | 86156 Augsburg | Tel: +49 821 45592596
Geschäftsführer : Stefano Babic | HRB 40522 Augsburg
E-Mail: sba...@nabladev.com

Reply all
Reply to author
Forward
0 new messages