Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-28 07:48:44 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-28 07:48:44 +0530
commitdb7632f55ed7160f55e5c8160ff0be750a26e2cc (patch)
tree531b11bee6e3c36fa5b7e84e343e7545a6222d6c /archinstall/lib
parent7922d82639f69f5b2761168f37173c7e639efa2a (diff)
log diffrent values when in bios mode
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 004a1743..4fb3a337 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -366,8 +366,10 @@ class Installer():
boot_partition = partition
elif partition.mountpoint == self.target:
root_partition = partition
-
- self.log(f'Adding bootloader {bootloader} to {boot_partition}', level=logging.INFO)
+ if hasUEFI():
+ self.log(f'Adding bootloader {bootloader} to {boot_partition}', level=logging.INFO)
+ else:
+ self.log(f'Adding bootloader {bootloader} to {root_partition}', level=logging.INFO)
if bootloader == 'systemd-bootctl':
if not hasUEFI():