fix: Set CPU model

This commit is contained in:
Kroese 2023-12-16 03:07:08 +01:00 committed by GitHub
parent 539f5de6d9
commit 1b3d760f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ fi
if [ -n "$HOST_CPU" ]; then
HOST_CPU="${HOST_CPU%%,*},,"
else
if [ "$CPU_MODEL" == "host" ]; then
if [ "$CPU_MODEL" == "host" ] || [ "$CPU_MODEL" == "qemu"* ]; then
HOST_CPU="QEMU"
else
HOST_CPU="${CPU_MODEL%%,*}"