From 5b5e613849dbf4bdd80639e1931ae7c285a3c506 2019-10-24 21:31:07 From: Unknown Date: 2019-10-24 21:31:07 Subject: [PATCH] 0 --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index e558790..d70105d 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -835,7 +835,7 @@ if [ "$ENABLE_CRYPTFS" = true ] ; then echo -n ${CRYPTFS_PASSWORD} > .password # Initialize encrypted partition - printf "YES" | cryptsetup luksFormat "${ROOT_LOOP}" -c "${CRYPTFS_CIPHER}" -s "${CRYPTFS_XTSKEYSIZE}" .password + cryptsetup -q luksFormat "${ROOT_LOOP}" -c "${CRYPTFS_CIPHER}" -s "${CRYPTFS_XTSKEYSIZE}" .password # Open encrypted partition and setup mapping cryptsetup luksOpen "${ROOT_LOOP}" -d .password "${CRYPTFS_MAPPING}"