Am 17.07.23 um 13:07 schrieb Michael Biebl:
So, instead of changing the dependency from libblockdev-crypto2 to libblockdev-crypto3, you might consider dropping the dependency altogether, as clevis-udisks2 already depends on udisks2 and clevis-crypto2 doesn't actually use libblockdev-crypto directly.


If (bookworm-) backports are a concern, you might also use something like this


diff --git a/debian/control b/debian/control
index c33360c..e542b2a 100644
--- a/debian/control
+++ b/debian/control
@@ -107,7 +107,7 @@ Architecture: linux-any
 Depends: ${misc:Depends}, ${shlibs:Depends},
     adduser,
     clevis-luks (= ${binary:Version}),
-    libblockdev-crypto2,
+    udisks2 (>= 2.10) | libblockdev-crypto2,
     udisks2,
 Description: UDisks2/Storaged integration for clevis
  Clevis is a plugable framework for automated decryption. This package



This is what cockpit-storaged has done.

Regards,
Michael

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to