Update proc.sh
This commit is contained in:
parent
1ae241040e
commit
e5990c4fd1
1 changed files with 4 additions and 3 deletions
|
|
@ -6,8 +6,9 @@ set -Eeuo pipefail
|
||||||
: "${KVM:="Y"}"
|
: "${KVM:="Y"}"
|
||||||
: "${CPU_FLAGS:=""}"
|
: "${CPU_FLAGS:=""}"
|
||||||
: "${CPU_MODEL:="host"}"
|
: "${CPU_MODEL:="host"}"
|
||||||
|
: "${MODEL:="cortex-a53"}"
|
||||||
|
|
||||||
[[ "$ARCH" != "arm"* ]] && KVM="N"
|
[[ "$ARCH" != "arm64" ]] && KVM="N"
|
||||||
|
|
||||||
if [[ "$KVM" != [Nn]* ]]; then
|
if [[ "$KVM" != [Nn]* ]]; then
|
||||||
|
|
||||||
|
|
@ -53,10 +54,10 @@ else
|
||||||
|
|
||||||
if [[ "${CPU_MODEL,,}" == "host"* ]]; then
|
if [[ "${CPU_MODEL,,}" == "host"* ]]; then
|
||||||
|
|
||||||
if [[ "$ARCH" == "arm"* ]]; then
|
if [[ "$ARCH" == "arm64" ]]; then
|
||||||
CPU_MODEL="max"
|
CPU_MODEL="max"
|
||||||
else
|
else
|
||||||
CPU_MODEL="cortex-a53"
|
CPU_MODEL="$MODEL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue