sysrich / tik

Transactional Installation Kit
MIT License
14 stars 10 forks source link

mig: Don't fail migration if system is not encrypted #39

Closed TobiPeterG closed 3 months ago

TobiPeterG commented 3 months ago

The current migration module fails if the installed system is not encrypted. However, the migration logic isn't bound to the system being encrypted. This PR makes the encryption optional, rather than mandatory. The migration will work on both encrypted and unencrypted systems.

This is useful as I do not want Yuga Linux to be encrypted, but the migration feature is still useful.

TobiPeterG commented 3 months ago

I also refactored the conditionals a bit, I hope this is alright. If not, I can revert this.