Am Mo, 03. Mär 2014 um 10:40:56 +0100 schrieb Dirk Griesbach: > cryptdisks.functions now uses open --type plain instead of create but > the argument order has to be adjusted for <name> and <device> or one > gets error messages like:
Please find attached a second patch which fixes the same problem for the file cryptroot. Regards, Dirk
--- /dev/shm/scripts/local-top/cryptroot 2014-03-03 12:40:12.144507942 +0100 +++ /usr/share/initramfs-tools/scripts/local-top/cryptroot 2014-03-03 12:53:24.000000000 +0100 @@ -238,7 +238,7 @@ elif [ "$crypttruecrypt" = "yes" ]; then cryptopen="$cryptopen open --type tcrypt $cryptsource $crypttarget" else - cryptopen="$cryptopen -c $cryptcipher -s $cryptsize -h $crypthash open --type plain $crypttarget $cryptsource" + cryptopen="$cryptopen -c $cryptcipher -s $cryptsize -h $crypthash open --type plain $cryptsource $crypttarget" fi cryptremove="/sbin/cryptsetup remove $crypttarget" NEWROOT="/dev/mapper/$crypttarget"

