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

+1
View File
@@ -0,0 +1 @@
disable=SC2154
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/bash
check() {
require_binaries boot-tree || return 1
return 255
}
depends() {
echo systemd
}
install() {
inst_binary boot-tree
inst_simple "$systemdsystemunitdir/boot-tree.service"
$SYSTEMCTL -q --root "$initdir" enable boot-tree.service
}