Luks-Encrypt-Raspbian-Stretch icon indicating copy to clipboard operation
Luks-Encrypt-Raspbian-Stretch copied to clipboard

count=1516179 instead of $BLOCK_COUNT in 3.disk_encrypt_initramfs.sh

Open kmandevnull opened this issue 6 years ago • 0 comments

Hi, In the script "3.disk_encrypt_initramfs.sh, Line 25"

SHA1SUM_NEWROOT="$(dd bs=4k count=1516179 if=/dev/mapper/sdcard | sha1sum)"

Shouldn't it have been "...count=$BLOCK_COUNT" instead of the above magic number "...count=1516179..." ?

Many thanks.

kmandevnull avatar Jun 18 '19 08:06 kmandevnull