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-20 20:01:15 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-20 20:01:15 +0530
commit64a785e0ec302daca8372205106a0990574bda9e (patch)
tree2764d3a6c1cfc0ab301e77de3c58b7f4a09761e5 /archinstall/lib
parentadeae68123314742dd76e2e231400c5cf6237c1e (diff)
reworked how we remove efimanager
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 4cf658c1..10532296 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -48,9 +48,10 @@ class Installer():
'base' : False,
'bootloader' : False
}
- if hasUEFI() == False:
- base_packages.replace(" efibootmgr","")
+
self.base_packages = base_packages.split(' ') if type(base_packages) is str else base_packages
+ if hasUEFI() == False:
+ self.base_packages.pop(self.base_packages.index("efibootmgr"))
self.post_base_install = []
storage['session'] = self