From 3c4d7aa53a441c6991d18bb831dcf588effcf739 Mon Sep 17 00:00:00 2001 From: "St. Jiub" <20297496+stjiub@users.noreply.github.com> Date: Thu, 6 Oct 2022 12:27:15 -0700 Subject: [PATCH] Run microcode_detector before initial pacstrap Initial pacstrap uses $microcode var, but var wasn't being initialized until after being called --- easy-arch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index 6a8b0a7..01e5328 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -351,6 +351,9 @@ mount -o "$mountopts",subvol=@var_pkgs "$BTRFS" /mnt/var/cache/pacman/pkg chattr +C /mnt/var/log mount "$ESP" /mnt/boot/ +# Checking the microcode to install. +microcode_detector + # Pacstrap (setting up a base sytem onto the new root). info_print "Installing the base system (it may take a while)." pacstrap /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator &>/dev/null @@ -375,9 +378,6 @@ cat > /mnt/etc/hosts <