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.feeds@gmail.com>2021-02-17 12:24:56 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-02-17 12:24:56 +0100
commit5cb3b0d176fff9d2c2fb814530b29eca5819fe8e (patch)
treeb1a71fb7efd808979107356bbd26389487eb4670 /archinstall/lib/disk.py
parent3a8a25982a273081cd845723a2d794438e960a13 (diff)
Implemented #106 in branch skip-partitioning. Also moving the disk_password from being a local variable to a BlockDevice setting/variable.
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index aa3632d8..d76c6d7e 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -23,6 +23,10 @@ class BlockDevice():
self.path = path
self.info = info
self.part_cache = OrderedDict()
+ # TODO: Currently disk encryption is a BIT missleading.
+ # It's actually partition-encryption, but for future-proofing this
+ # I'm placing the encryption password on a BlockDevice level.
+ self.encryption_passwoed = None
def __repr__(self, *args, **kwargs):
return f"BlockDevice({self.device})"