Update proc.sh

This commit is contained in:
Kroese 2024-02-03 12:00:58 +01:00 committed by GitHub
parent e5990c4fd1
commit cb7fd0280a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ set -Eeuo pipefail
: "${CPU_MODEL:="host"}"
: "${MODEL:="cortex-a53"}"
[[ "$ARCH" != "arm64" ]] && KVM="N"
[[ "$ARCH" != "arm"* ]] && KVM="N"
if [[ "$KVM" != [Nn]* ]]; then
@ -54,7 +54,7 @@ else
if [[ "${CPU_MODEL,,}" == "host"* ]]; then
if [[ "$ARCH" == "arm64" ]]; then
if [[ "$ARCH" == "arm"* ]]; then
CPU_MODEL="max"
else
CPU_MODEL="$MODEL"