23 lines
518 B
Bash
Executable file
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${BOOT_DESC}..."
|
|
|
|
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
|
exec qemu-system-aarch64 ${ARGS:+ $ARGS}
|