Update entry.sh

This commit is contained in:
Kroese 2024-06-02 20:54:35 +02:00 committed by GitHub
parent 4172fe0b7d
commit cb248cf16c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,8 @@ cd /run
trap - ERR
info "Booting image${BOOT_DESC} using $VERS..."
version=$(qemu-system-aarch64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ print $NF }')
info "Booting image${BOOT_DESC} using QEMU v$version..."
if [ -z "$CPU_PIN" ]; then
exec qemu-system-aarch64 ${ARGS:+ $ARGS}