feat: Print QEMU version on boot (#751)

This commit is contained in:
Kroese
2024-06-02 21:04:09 +02:00
committed by GitHub
parent c135c4cac3
commit 19b4248929
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,8 @@ cd /run
trap - ERR
info "Booting ${APP}..."
version=$(qemu-system-aarch64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ print $NF }')
info "Booting $APP using QEMU v$version..."
if [[ "$CONSOLE" == [Yy]* ]]; then
exec qemu-system-x86_64 ${ARGS:+ $ARGS}