rename boot-tree to bootvine
This commit is contained in:
1 parent
101d7bae89
commit
2d586f57f7
21 files changed
+104
-104
No files matched your search
@@ -1,19 +0,0 @@
|
||||
#!/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"
|
||||
if [[ -f /etc/boot-tree.toml ]]; then
|
||||
inst_simple /etc/boot-tree.toml
|
||||
fi
|
||||
$SYSTEMCTL -q --root "$initdir" enable boot-tree.service
|
||||
}
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
check() {
|
||||
require_binaries bootvine || return 1
|
||||
return 255
|
||||
}
|
||||
|
||||
depends() {
|
||||
echo systemd
|
||||
}
|
||||
|
||||
install() {
|
||||
inst_binary bootvine
|
||||
inst_simple "$systemdsystemunitdir/bootvine.service"
|
||||
if [[ -f /etc/bootvine.toml ]]; then
|
||||
inst_simple /etc/bootvine.toml
|
||||
fi
|
||||
$SYSTEMCTL -q --root "$initdir" enable bootvine.service
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
build() {
|
||||
add_binary boot-tree
|
||||
add_systemd_unit boot-tree.service
|
||||
if [[ -f /etc/boot-tree.toml ]]; then
|
||||
add_file /etc/boot-tree.toml
|
||||
fi
|
||||
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
|
||||
}
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
}
|
||||
@@ -8,7 +8,7 @@ Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=@/usr/bin/boot-tree @boot-tree
|
||||
ExecStart=@/usr/bin/bootvine @bootvine
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
StandardError=journal
|
||||
Reference in new issue
Block a user