Debugging

This commit is contained in:
Anton Hvornum 2021-03-29 13:16:42 +02:00
parent 4c5be61918
commit e94a8d8b25
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 2 additions and 0 deletions

View File

@ -452,6 +452,8 @@ class Filesystem():
self.blockdevice.partition[1].allow_formatting = True
if encrypt_root_partition:
raise ValueError("moo")
exit(1)
log(f"Marking partition {self.blockdevice.partition[1]} as encrypted.", level=LOG_LEVELS.Debug)
self.blockdevice.partition[1].encrypted = True