qemu-arm/src/entry.sh
2024-02-02 11:52:57 +01:00

23 lines
518 B
Bash
Executable file

#!/usr/bin/env bash
set -Eeuo pipefail
APP="QEMU"
SUPPORT="https://github.com/qemus/qemu-arm"
cd /run
. reset.sh # Initialize system
. install.sh # Get bootdisk
. disk.sh # Initialize disks
. display.sh # Initialize graphics
. network.sh # Initialize network
. boot.sh # Configure boot
. proc.sh # Initialize processor
. config.sh # Configure arguments
trap - ERR
info "Booting image using $VERS..."
[[ "$DEBUG" == [Yy1]* ]] && set -x
exec qemu-system-aarch64 ${ARGS:+ $ARGS}