coreycothrum / meta-mender-luks

mender with LUKS encrypted partitions
MIT License
11 stars 5 forks source link

running mender-luks-encrypt-image.sh multiple times doesn't work #15

Open coreycothrum opened 1 year ago

coreycothrum commented 1 year ago

Image won't boot if you encrypt/post-process it more than once.

coreycothrum commented 1 year ago
  1. some check that will fail if/when this doesn't work
  2. make it work
coreycothrum commented 1 year ago

probably need to check if it's already LUKs. If it is, reencrypt instead of encrypt.

this script is probably very similar to solution for #16