Update proc.sh
This commit is contained in:
parent
e5990c4fd1
commit
cb7fd0280a
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue