index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | advaithm <advaith.madhukar@gmail.com> | 2021-04-02 10:08:16 +0530 |
---|---|---|
committer | advaithm <advaith.madhukar@gmail.com> | 2021-04-02 10:08:16 +0530 |
commit | b974b93004efa9912e404f5d3fca7c44a58dc0e3 (patch) | |
tree | 22532a3476282c08b7ddf6069357ed6738cca57d /archinstall/lib/disk.py | |
parent | f4e616cd9e1328a83fdf6f1541fd495292474642 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 7 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index fbc11ca3..8e9e0234 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -390,12 +390,9 @@ class Filesystem(): # TODO: # When instance of a HDD is selected, check all usages and gracefully unmount them # as well as close any crypto handles. - def __init__(self, blockdevice): + def __init__(self, blockdevice,mode): self.blockdevice = blockdevice - if hasUEFI(): - self.mode = GPT - else: - self.mode = MBR + self.mode = mode def __enter__(self, *args, **kwargs): if self.blockdevice.keep_partitions is False: |