index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | codefiles <11915375+codefiles@users.noreply.github.com> | 2023-12-01 09:59:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 15:59:44 +0100 |
commit | 5db4456dba9f8c85ff70e545fa5bb3d6a37bd265 (patch) | |
tree | 177f4d5f8f369f180edeace344b5c4fe4055329f /archinstall/lib/models | |
parent | 2aeb1b5762cce5646515f213b366b71367c1dc17 (diff) |
-rw-r--r-- | archinstall/lib/models/bootloader.py | 7 |
diff --git a/archinstall/lib/models/bootloader.py b/archinstall/lib/models/bootloader.py index fa3f32c8..aa1a8e27 100644 --- a/archinstall/lib/models/bootloader.py +++ b/archinstall/lib/models/bootloader.py @@ -14,6 +14,13 @@ class Bootloader(Enum): Efistub = 'Efistub' Limine = 'Limine' + def has_uki_support(self) -> bool: + match self: + case Bootloader.Efistub | Bootloader.Systemd: + return True + case _: + return False + def json(self) -> str: return self.value |