boot-tree: portable unit, dracut and mkinitcpio hooks, self-quieting console, minimal NixOS module

This commit is contained in:
Willem Vanhulle committed 2026-10-11 15:54:28 +02:00
1 parent 2b1447965a
commit 1482d4437a
13 files changed
+208 -121

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/bash
build() {
add_binary boot-tree
add_systemd_unit boot-tree.service
add_symlink /usr/lib/systemd/system/sysinit.target.wants/boot-tree.service \
/usr/lib/systemd/system/boot-tree.service
}
help() {
cat <<HELP
Shows a live dependency tree of systemd jobs while the initramfs boots.
Requires the systemd hook; add sd-boot-tree after it in HOOKS.
HELP
}