Failed jobs keep their kind: units that broke or timed out get a failure panel entry with the reason systemd reports (exit status, signal, timeout, start limit, status text) and their last journal lines read through libsystemd. Units that failed only through a dependency are dimmed and left out of the panel, and units that crash after starting count as failed. Restructure the repository around this: - move the library and binary into bootvine/ and the scripted demos into their own unpublished scripted-demos crate, with their VHS tapes - move the crane builds and NixOS module into nix/ - group each sample VM with its check under vm-tests/, adding text-console, scripted-initrd, encrypted-volume and failures machines and a vm-failures check - add docs/guide.md walking through the screen with every recording, keep one recording in the README, and re-render all recordings
19 lines
470 B
Bash
Executable File
19 lines
470 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
build() {
|
|
add_binary bootvine
|
|
add_systemd_unit bootvine.service
|
|
if [[ -f /etc/bootvine.toml ]]; then
|
|
add_file /etc/bootvine.toml
|
|
fi
|
|
add_symlink /usr/lib/systemd/system/sysinit.target.wants/bootvine.service \
|
|
/usr/lib/systemd/system/bootvine.service
|
|
}
|
|
|
|
help() {
|
|
cat <<HELP
|
|
Shows a live dependency tree of systemd jobs while the initramfs boots.
|
|
Requires the systemd hook; add sd-bootvine after it in HOOKS.
|
|
HELP
|
|
}
|