1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-23 04:25:10 +03:00

try to add FDE support but it doesn't work

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
This commit is contained in:
Casey Connolly 2025-05-24 14:24:28 +02:00
parent ecf1d54e39
commit b9d6a304dc
4 changed files with 37 additions and 22 deletions

View file

@ -144,14 +144,17 @@ class PartitionLayout(list[DiskPartition]):
fragile indexes while still allowing the partitions to be
iterated over for simplicity. This is not a good design tbh
"""
path: str # path to disk image
split: bool # image per partition
def __init__(self, path: str, split: bool):
path: str # path to disk image
split: bool # image per partition
fde: bool
def __init__(self, path: str, split: bool, fde: bool):
super().__init__(self)
# Path to the disk image
self.path = path
self.split = split
self.fde = fde
@property
def kernel(self):