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