Skip to content

Commit

Permalink
feat: Print system info to log (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Apr 19, 2024
1 parent 1f07402 commit 6010756
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ cd /run

trap - ERR

info "Booting $APP using $VERS..."
info "Booting ${APP}${BOOT_DESC} on ${CPU} using QEMU v${VERS} with kernel $(uname -r)..."
[[ "$DEBUG" == [Yy1]* ]] && echo "Arguments: $ARGS" && echo

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

{ 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 6010756

Please sign in to comment.