Package: finish-install Version: 2.100 Severity: wishlist Tags: patch Hi there,
Since 2:2.0.3-1 the ‘cryptsetup’ package is a transitional dummy package for ‘cryptsetup-run’ (various scripts and helpers/wrappers) and ‘cryptsetup-initramfs’ (initramfs integration, depending on the former). https://tracker.debian.org/news/965549/accepted-cryptsetup-2203-1-source-amd64-all-into-unstable-unstable/ finish-install's ‘finish-install.d/10update-initramfs’ currently (v2.100) runs `dpkg-query -s cryptsetup`, while it only needs to re-generate the initramfs image if cryptsetup's initramfs installed. Trivial patch enclosed. Thanks for maintaining d-i in Debian! -- Guilhem.
diff --git a/finish-install.d/10update-initramfs b/finish-install.d/10update-initramfs index 18bafed..bf04ef8 100755 --- a/finish-install.d/10update-initramfs +++ b/finish-install.d/10update-initramfs @@ -1,10 +1,10 @@ #!/bin/sh -# If both cryptsetup and console-setup are installed, run -# update-initramfs to make sure one can type the passphrase +# If both cryptsetup-initramfs and console-setup are installed, +# run update-initramfs to make sure one can type the passphrase # (see #694156, workaround for #696773): /bin/in-target \ - /bin/sh -c "dpkg-query -s cryptsetup >/dev/null 2>&1 && dpkg-query -s console-setup >/dev/null 2>&1" + /bin/sh -c "dpkg-query -s cryptsetup-initramfs >/dev/null 2>&1 && dpkg-query -s console-setup >/dev/null 2>&1" if [ $? = 0 ]; then echo "Encrypted LVM detected, refreshing initramfs"
signature.asc
Description: PGP signature