Skip to content

Commit

Permalink
feat: Display QEMU version (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed Jan 23, 2024
1 parent 7790f81 commit 9cbb51c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ cd /run

trap - ERR

info "Booting $APP using $VERS..."

if [[ "$CONSOLE" == [Yy]* ]]; then
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
fi

[[ "$DEBUG" == [Yy1]* ]] && info "$VERS" && echo "Arguments: $ARGS" && echo
[[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo
{ qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15

Expand Down

0 comments on commit 9cbb51c

Please sign in to comment.