Update entry.sh

This commit is contained in:
Kroese 2024-06-02 19:48:07 +02:00 committed by GitHub
parent 2e1b116cbf
commit acdaf6ba3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,12 @@ trap - ERR
info "Booting ${APP}${BOOT_DESC}..." info "Booting ${APP}${BOOT_DESC}..."
{ qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || : if [ -z "$CPU_PIN" ]; then
{ qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
else
{ taskset -c "$CPU_PIN" qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
fi
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15 (( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
terminal terminal