fix: CPU pinning for Orange Pi

This commit is contained in:
Kroese 2024-06-07 13:07:49 +02:00 committed by GitHub
parent f43030d486
commit 3942ee5d0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,5 +23,5 @@ info "Booting image${BOOT_DESC} using QEMU v$version..."
if [ -z "$CPU_PIN" ]; then
exec qemu-system-aarch64 ${ARGS:+ $ARGS}
else
taskset -c "$CPU_PIN" exec qemu-system-aarch64 ${ARGS:+ $ARGS}
exec taskset -c "$CPU_PIN" qemu-system-aarch64 ${ARGS:+ $ARGS}
fi