Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-02 10:28:04 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-02 10:28:04 +0530
commitb5e32f980a27f272c1e3c42969323dff82617a84 (patch)
tree19176e431f7ee57a613ce567efa40af5a95dd53d /archinstall/lib/installer.py
parent6b218e555be5860a00297be30da22a1c09944ed2 (diff)
added hardwareincompatibilty erros and updated readme
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 1411688c..e38860d3 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -331,6 +331,8 @@ class Installer():
self.log(f'Adding bootloader {bootloader} to {self.boot_partition}', level=LOG_LEVELS.Info)
if bootloader == 'systemd-bootctl':
+ if not hasUEFI():
+ raise HardwareIncompatibilityError
# TODO: Ideally we would want to check if another config
# points towards the same disk and/or partition.
# And in which case we should do some clean up.