foundry
Foundry OS: the operating system built on the Rustbelt kernel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/usr/bin/env bash
# Boot the Foundry OS image interactively on the pinned Rustbelt kernel:
# a QEMU window (or add NOGRAPHIC=1 for serial only), our image as disk 0
# (B:), the kernel's test disks as C:, D:, E:. Same devices as the kernel's
# `cargo run`. The hvc0 console is on the unix socket OUT/hvc0.sock:
# socat - UNIX-CONNECT:out/hvc0.sock (then `getty /dev/hvc0 &` in Foundry)
#
# Usage: scripts/run-qemu.sh IMAGE KERNEL_BOOTIMAGE KERNEL_TARGET OUT_DIR
IMAGE= IMG= KT= OUT=
display=()
[ && display=(-display none)
|