unixabg / cryptmypi

Project to assist users in building an encrypted raspberry pi
GNU General Public License v3.0
63 stars 20 forks source link

Partition should not be hardcoded #44

Closed taziden closed 3 years ago

taziden commented 3 years ago

In https://github.com/unixabg/cryptmypi/blob/64c2a4bff958c8d9f2b7ecd078952b964d4d4dff/examples/debian-encrypted-basic-dropbear/stage2-otherscript.sh#L9 partition is hardcoded and could be deduced from the value of _BLKDEV in cryptmypi.sh.