Skip to content

Commit

Permalink
feat: Print QEMU version on boot (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Jun 2, 2024
1 parent cd73286 commit 10f1ba6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ cd /run

trap - ERR

info "Booting ${APP}${BOOT_DESC}..."
version=$(qemu-system-aarch64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ print $NF }')
info "Booting ${APP}${BOOT_DESC} using QEMU v$version..."

if [ -z "$CPU_PIN" ]; then
{ qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
Expand Down

0 comments on commit 10f1ba6

Please sign in to comment.