mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Run microcode_detector before initial pacstrap
Initial pacstrap uses $microcode var, but var wasn't being initialized until after being called
This commit is contained in:
parent
cc089a7b5d
commit
3c4d7aa53a
1 changed files with 3 additions and 3 deletions
|
|
@ -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 <<EOF
|
|||
127.0.1.1 $hostname.localdomain $hostname
|
||||
EOF
|
||||
|
||||
# Checking the microcode to install.
|
||||
microcode_detector
|
||||
|
||||
# Virtualization check.
|
||||
virt_check
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue