Replace every em dash with real punctuation (rewrites, not hyphen swaps) in docs, code comments, scripts, configs, and the port records; convert en dashes, curly quotes, ellipsis glyphs, arrows, and section signs to ASCII; drop machine-writing tell phrases from living docs. ADR titles now use a colon. The M2 bring-up DTS model string carried an em dash into the patch series and its record echoes; fixed at both, and the full series re-verified to apply cleanly onto pristine 6.18.46. One comment in freshness.h deliberately names the em dash glyph the UI renders as the unknown mark; that is data, kept as prose naming it. Verified: cargo tests (sim, config-lint, rs485-bridge), shellcheck, both driver MC/DC harnesses, patches-apply.
35 lines
1.1 KiB
Plaintext
Executable File
35 lines
1.1 KiB
Plaintext
Executable File
#!/bin/busybox sh
|
|
# shellcheck shell=dash
|
|
# WardenOS QEMU device sim: initramfs /init (PID 1).
|
|
#
|
|
# Phase-1 duty: prove the kernel booted on -M virt; print the sentinel the
|
|
# smoke test greps for, then power off (PSCI SYSTEM_OFF, so qemu exits).
|
|
# `warden.shell` on the kernel cmdline drops to an interactive shell instead.
|
|
|
|
/bin/busybox mount -t devtmpfs devtmpfs /dev 2>/dev/null
|
|
|
|
# The cpio archive carries no device nodes (it is built unprivileged, no
|
|
# mknod); reopen stdio on the real console now that devtmpfs is mounted.
|
|
exec </dev/console >/dev/console 2>&1
|
|
|
|
/bin/busybox --install -s /bin
|
|
mount -t proc proc /proc
|
|
mount -t sysfs sysfs /sys
|
|
|
|
echo "WARDEN-QEMU-BOOT-OK"
|
|
|
|
# With a virtio disk attached, hand over to the stage-1 rc (by-name symlinks,
|
|
# slot select, switch_root). It only returns on failure; then fall through to
|
|
# the diskless shell/poweroff behavior below.
|
|
if [ -b /dev/vda ]; then
|
|
# shellcheck source=qemu/rootfs/etc/rc disable=SC1091
|
|
. /etc/rc
|
|
fi
|
|
|
|
if grep -qw warden.shell /proc/cmdline; then
|
|
echo "warden.shell: interactive shell (exit to power off)"
|
|
setsid cttyhack sh
|
|
fi
|
|
|
|
poweroff -f
|