fix quickinst for aarch64 usage

This commit is contained in:
Tobias Powalowski 2022-01-06 19:06:34 +01:00
parent c0af778456
commit 206ae79073

View file

@ -102,8 +102,10 @@ install_packages() {
PACKAGES="${PACKAGES} systemd-sysvcompat"
### HACK:
# always add intel-ucode
PACKAGES="$(echo ${PACKAGES} | sed -e "s#\ intel-ucode\ # #g")"
PACKAGES="${PACKAGES} intel-ucode"
if [[ "$(uname -m)" == "x86_&4" ]]; then
PACKAGES="$(echo ${PACKAGES} | sed -e "s#\ intel-ucode\ # #g")"
PACKAGES="${PACKAGES} intel-ucode"
fi
# always add amd-ucode
PACKAGES="$(echo ${PACKAGES} | sed -e "s#\ amd-ucode\ # #g")"
PACKAGES="${PACKAGES} amd-ucode"