index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-08 15:15:53 +0000 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-08 15:15:53 +0000 |
commit | 46c8e74a7311dc11ebf8911acbc29fbb6e1bc45a (patch) | |
tree | 6cc9b3058c96ce2c0071a7c951d5a643239d633b /archinstall/lib/disk.py | |
parent | 24a384cddbd35d658f2951c861d12898ddee04b3 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 3 |
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})' |