Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-29 13:16:42 +0200
committerAnton Hvornum <anton@hvornum.se>2021-03-29 13:16:42 +0200
commite94a8d8b25060e0ab2a47215d773825e649a43aa (patch)
tree5c5ffb3238bb50a7415f3804729215385bb4a154 /archinstall/lib/disk.py
parent4c5be619181b34093e42306c00526fb56e0a328f (diff)
Debugging
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 9afece2e..5e16558e 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -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