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
|
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
|
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
|
||||||
VER=2.1.55
|
VER=2.1.56
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -774,7 +774,7 @@ select_mirrors()
|
|||||||
c="${COUNTRIES[$i]}"
|
c="${COUNTRIES[$i]}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
yesno "Mirror Countries" "\nConfirm the following countries: $c" && break
|
yesno "Mirror Countries" "\nConfirm the following countries: $c\n" && break
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in $codes; do
|
for i in $codes; do
|
||||||
@ -2046,6 +2046,8 @@ install_packages()
|
|||||||
|
|
||||||
# remove the packages we don't want on the installed system
|
# remove the packages we don't want on the installed system
|
||||||
[[ ${rmpkg[*]} ]] && chrun "pacman -Rnsc ${rmpkg[*]} --noconfirm"
|
[[ ${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
|
# 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
|
chrun "pacman -S $KERNEL $UCODE iputils --noconfirm" 2> "$ERR" 2>&1
|
||||||
|
Reference in New Issue
Block a user