Skip to contentSkip to conversation

cryptsetup: depend on new util-linux-uuid to break cycle

PATCH New Luca Bocassi 1 participant 1 message Mar 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cryptsetup: depend on new util-linux-uuid to break cycle

From: Luca Boccassi <[email protected]>

The util-linux recipe in Poky has been split, and libuuid is separate now:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d42487bf52310d095178e480b7ddec2666471009

This allows to build util-linux with cryptsetup, for native dm-verity support.
The main cryptsetup build needs libuuid and not the full util-linux, so switch the build-dependency over, thus allowing users to enable the cryptsetup util-linux's PACKAGECONFIG.
The libblkid dependency is handled individually by the crypsetup's PACKAGECONFIG option.

---
 meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.3.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.3.4.bb +1 -1
index b9a6b7179..f53bd8523 100644
@@ -13,7 +13,7 @@ DEPENDS = " \
     json-c \
     libdevmapper \
     popt \
-    util-linux \
+    util-linux-uuid \
 "
 
 RDEPENDS_${PN} = " \
Signature · 1 line
2.29.2