index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | advaithm <advaith.madhukar@gmail.com> | 2021-04-28 07:48:44 +0530 |
---|---|---|
committer | advaithm <advaith.madhukar@gmail.com> | 2021-04-28 07:48:44 +0530 |
commit | db7632f55ed7160f55e5c8160ff0be750a26e2cc (patch) | |
tree | 531b11bee6e3c36fa5b7e84e343e7545a6222d6c /archinstall | |
parent | 7922d82639f69f5b2761168f37173c7e639efa2a (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 6 |
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(): |