qemu-arm/src/entry.sh
Kroese c2edb081bb
feat: CPU configuration
* feat: CPU configuration
2023-12-16 07:41:19 +01:00

22 lines
589 B
Bash
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
set -Eeuo pipefail
echo " Starting QEMU for Docker v$(</run/version)..."
echo " For support visit https://github.com/qemu-tools/qemu-docker/"
cd /run
. reset.sh # Initialize system
. install.sh # Get bootdisk
. disk.sh # Initialize disks
. display.sh # Initialize display
. network.sh # Initialize network
. boot.sh # Configure boot
. cpu.sh # Initialize processor
. config.sh # Configure arguments
trap - ERR
info "Booting image using $VERS..."
[[ "$DEBUG" == [Yy1]* ]] && set -x
exec qemu-system-x86_64 ${ARGS:+ $ARGS}