similarity index 89%
rename from recipes-initramfs/initramfs-crypt-hook/initramfs-crypt-hook_0.3.bb
rename to recipes-initramfs/initramfs-crypt-hook/initramfs-crypt-hook_0.4.bb
@@ -10,14 +10,14 @@
inherit dpkg-raw
DEBIAN_DEPENDS = "initramfs-tools, cryptsetup, \
- awk, openssl, libtss2-esys-3.0.2-0 | libtss2-esys0, \
- libtss2-rc0 | libtss2-esys0, libtss2-mu0 | libtss2-esys0, \
- e2fsprogs, tpm2-tools, coreutils, uuid-runtime"
+ awk, openssl, e2fsprogs, tpm2-tools, coreutils, uuid-runtime"
CLEVIS_DEPEND = ", clevis-luks, jose, bash, luksmeta, file, libpwquality-tools"
-DEBIAN_DEPENDS:append:buster = "${CLEVIS_DEPEND}, libgcc-7-dev"
-DEBIAN_DEPENDS:append:bullseye = "${CLEVIS_DEPEND}"
+DEBIAN_DEPENDS:append:buster = "${CLEVIS_DEPEND}, libgcc-7-dev, libtss2-esys0"
+DEBIAN_DEPENDS:append:bullseye = "${CLEVIS_DEPEND}, libtss2-esys-3.0.2-0, libtss2-rc0, libtss2-mu0"
+DEBIAN_DEPENDS:append:bookworm = ", libtss2-esys-3.0.2-0, libtss2-rc0, libtss2-mu0"
+DEBIAN_DEPENDS:append:trixie = ", systemd-cryptsetup, libtss2-esys-3.0.2-0t64, libtss2-rc0t64, libtss2-mu-4.0.1-0t64"
DEBIAN_DEPENDS:append = "${@encryption_dependency(d)}"
def encryption_dependency(d):