[pkg-cryptsetup-devel] Bug#597583: initramfs-tools

Ian Jackson ijackson at chiark.greenend.org.uk
Mon Sep 20 23:53:07 UTC 2010


Package: cryptsetup
Version: 2:1.0.6-7
Severity: wishlist

It would be nice if the "keyscript" cryptopts option could specify a
program to be found on the PATH (eg, in the initramfs's /bin) rather
than an absolute filename.

This could be done by replacing this test
        if [ -n "$cryptkeyscript" ] && [ ! -x "$cryptkeyscript" ]; then
with something like
	if ! type "$cryptkeyscript >/dev/null; then
with the added benefit of getting a slightly better error message too.

Ian.





More information about the pkg-cryptsetup-devel mailing list