From 10f1ba65e137d878bf14ae45ab6434bc913ce617 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 2 Jun 2024 21:10:03 +0200 Subject: [PATCH] feat: Print QEMU version on boot (#141) --- src/entry.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/entry.sh b/src/entry.sh index 866e30f..95b3792 100644 --- a/src/entry.sh +++ b/src/entry.sh @@ -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=$?; } || :