diff mbox

[meta-swupdate] Add dependency to btrfs-tools if CONFIG_BTRFS_FILESYSTEM is set

Message ID 20230718122352.1074699-1-sbabic@denx.de
State Accepted
Delegated to: Stefano Babic
Headers show

Commit Message

Stefano Babic July 18, 2023, 12:23 p.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 recipes-support/swupdate/swupdate.inc | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc
index efae4b1..7b935ca 100644
--- a/recipes-support/swupdate/swupdate.inc
+++ b/recipes-support/swupdate/swupdate.inc
@@ -186,6 +186,9 @@  python () {
     if 'CONFIG_DISKPART=y\n' in features:
         depends += ' util-linux e2fsprogs'
 
+    if 'CONFIG_BTRFS_FILESYSTEM=y\n' in features:
+        depends += ' btrfs-tools'
+
     if 'CONFIG_DELTA=y\n' in features:
         depends += ' zchunk'