mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Detection of EFI images (#577)
This commit is contained in:
parent
0bb55b7bc1
commit
2f5f01dbb2
5 changed files with 37 additions and 29 deletions
|
|
@ -23,7 +23,8 @@ cd /run
|
|||
|
||||
trap - ERR
|
||||
|
||||
info "Booting ${APP}${BOOT_DESC}..."
|
||||
version=$(qemu-system-x86_64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ print $NF }')
|
||||
info "Booting ${APP}${BOOT_DESC} using QEMU v$version..."
|
||||
|
||||
{ qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
|
||||
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue