Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-15 09:12:17 +0000
committerGitHub <noreply@github.com>2021-05-15 09:12:17 +0000
commit6682e21bc413093787bb8de91f424953b4126b58 (patch)
tree855ea82b6597d03d3b54939869f6fd830ec49877
parent9467a7cd77e3319049032a5bfa005a0515d64c4e (diff)
parent60858634f1afb2b1d5bcc0fbb9e4b0bccdedc876 (diff)
Merge pull request #438 from dylanmtaylor/patch-8
Fix microcode not getting added to base_packages before install
-rw-r--r--archinstall/lib/installer.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 03b49f77..68d058f0 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -320,12 +320,9 @@ class Installer():
if 'encrypt' not in self.HOOKS:
self.HOOKS.insert(self.HOOKS.index('filesystems'), 'encrypt')
- if not(hasUEFI()): # TODO: Allow for grub even on EFI
+ if not(hasUEFI()):
self.base_packages.append('grub')
- self.pacstrap(self.base_packages)
- self.helper_flags['base-strapped'] = True
- #self.genfstab()
if not isVM():
vendor = cpuVendor()
if vendor == "AuthenticAMD":
@@ -334,6 +331,10 @@ class Installer():
self.base_packages.append("intel-ucode")
else:
self.log("Unknown cpu vendor not installing ucode")
+
+ self.pacstrap(self.base_packages)
+ self.helper_flags['base-strapped'] = True
+
with open(f"{self.target}/etc/fstab", "a") as fstab:
fstab.write(
"\ntmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0\n"