Update proc.sh

This commit is contained in:
Kroese 2024-05-19 21:14:27 +02:00 committed by GitHub
parent 96dba61f0e
commit 6e52249150
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ else
KVM_OPTS=" -accel tcg,thread=multi" KVM_OPTS=" -accel tcg,thread=multi"
if [ -z "$CPU_MODEL" ]; then if [ -z "$CPU_MODEL" ]; then
if [[ "$ARCH" == "arm"* ]]; then if [[ "${ARCH,,}" == "arm64" ]]; then
CPU_MODEL="max,pauth-impdef=on" CPU_MODEL="max,pauth-impdef=on"
else else
CPU_MODEL="$DEF_MODEL" CPU_MODEL="$DEF_MODEL"