index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-03-29 15:55:36 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-03-29 15:55:36 +0200 |
commit | 0e269752479ff68fba73d4c04ea0f28718f945cd (patch) | |
tree | 288a1222ae2c300ee4c792299bded107a28cc951 /archinstall | |
parent | e94a8d8b25060e0ab2a47215d773825e649a43aa (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 6 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 5e16558e..3efee8b4 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -1,5 +1,5 @@ import glob, re, os, json, time, hashlib -import pathlib +import pathlib, traceback from collections import OrderedDict from .exceptions import DiskError from .general import * @@ -452,9 +452,9 @@ 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) + log(f"Callstrack when marking the partition: {''.join(traceback.format_stack())}", level=LOG_LEVELS.Debug) + self.blockdevice.partition[1].encrypted = True def add_partition(self, type, start, end, format=None): |