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+github@gmail.com>2020-07-08 15:15:53 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 15:15:53 +0000
commit46c8e74a7311dc11ebf8911acbc29fbb6e1bc45a (patch)
tree6cc9b3058c96ce2c0071a7c951d5a643239d633b /archinstall/lib/disk.py
parent24a384cddbd35d658f2951c861d12898ddee04b3 (diff)
Trying to sort out a boot issue
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 30a7c44e..30dbcdc2 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -78,13 +78,14 @@ class BlockDevice():
return self.info[key]
class Partition():
- def __init__(self, path, part_id=None, size=-1, filesystem=None, mountpoint=None):
+ def __init__(self, path, part_id=None, size=-1, filesystem=None, mountpoint=None, encrypted=False):
if not part_id: part_id = os.path.basename(path)
self.path = path
self.part_id = part_id
self.mountpoint = mountpoint
self.filesystem = filesystem # TODO: Autodetect if we're reusing a partition
self.size = size # TODO: Refresh?
+ self.encrypted = encrypted
def __repr__(self, *args, **kwargs):
return f'Partition({self.path}, fs={self.filesystem}, mounted={self.mountpoint})'