mirror of
https://github.com/dockur/windows-arm.git
synced 2024-11-17 18:51:49 +00:00
feat: Print QEMU version on boot (#141)
This commit is contained in:
parent
cd732860ed
commit
10f1ba65e1
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ cd /run
|
||||||
|
|
||||||
trap - ERR
|
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
|
if [ -z "$CPU_PIN" ]; then
|
||||||
{ qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
|
{ qemu-system-aarch64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
|
||||||
|
|
Loading…
Reference in a new issue