Remove microcode from boot before trying to install
This commit is contained in:
parent
5686dd7f62
commit
7b0cb1d55e
@ -6,7 +6,7 @@
|
||||
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||
|
||||
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
|
||||
VER=2.1.55
|
||||
VER=2.1.56
|
||||
|
||||
# default values {
|
||||
|
||||
@ -774,7 +774,7 @@ select_mirrors()
|
||||
c="${COUNTRIES[$i]}"
|
||||
fi
|
||||
done
|
||||
yesno "Mirror Countries" "\nConfirm the following countries: $c" && break
|
||||
yesno "Mirror Countries" "\nConfirm the following countries: $c\n" && break
|
||||
done
|
||||
|
||||
for i in $codes; do
|
||||
@ -2047,6 +2047,8 @@ install_packages()
|
||||
# remove the packages we don't want on the installed system
|
||||
[[ ${rmpkg[*]} ]] && chrun "pacman -Rnsc ${rmpkg[*]} --noconfirm"
|
||||
|
||||
[[ -e $MNT/boot/${UCODE}.img ]] && rm -rf "$MNT/boot/${UCODE}.img"
|
||||
|
||||
# install crucial packages first to avoid issues, reinstalling iputils fixes network issues for non-root users
|
||||
chrun "pacman -S $KERNEL $UCODE iputils --noconfirm" 2> "$ERR" 2>&1
|
||||
errshow 1 "chrun 'pacman -S $KERNEL $UCODE iputils --noconfirm'"
|
||||
|
Reference in New Issue
Block a user