feat: move install commands from xtask into clap subcommands
This commit is contained in:
1 parent
4dad85473b
commit
3acc577aac
15 files changed
+463
-381
No files matched your search
@@ -1,9 +1,13 @@
|
||||
# bootvine
|
||||
|
||||
A live tree of systemd jobs on the boot console, in the spirit of
|
||||
nix-output-monitor. It replaces the scrolling kernel and systemd lines with the
|
||||
units still pending and, in the room the tree leaves, a timeline of the slowest
|
||||
ones that ran.
|
||||
[nix-output-monitor](https://github.com/maralorn/nix-output-monitor). It
|
||||
replaces the scrolling kernel and systemd lines with the units still pending
|
||||
and, in the room the tree leaves, a timeline of the slowest ones that ran.
|
||||
|
||||
I started bootvine out of frustration with the boot screen of most Linux
|
||||
distributions: a wall of log lines scrolling past too fast to read, which never
|
||||
gave me any idea of what was going on.
|
||||
|
||||
<img src="https://codeberg.org/wvhulle/bootvine/raw/branch/main/recordings/boot.gif" width="691" alt="A boot through the initrd into stage 2, with one failed unit">
|
||||
|
||||
@@ -12,12 +16,14 @@ units that have to stop first.
|
||||
|
||||
<img src="https://codeberg.org/wvhulle/bootvine/raw/branch/main/recordings/shutdown.gif" width="691" alt="A poweroff: units stopping under the targets waiting on them">
|
||||
|
||||
Passphrase prompts, such as a LUKS unlock in the initrd, are answered in place
|
||||
over the tree.
|
||||
Passphrase prompts, such as a
|
||||
[LUKS](https://gitlab.com/cryptsetup/cryptsetup) unlock in the initrd, are
|
||||
answered in place over the tree.
|
||||
|
||||
<img src="https://codeberg.org/wvhulle/bootvine/raw/branch/main/recordings/passphrase.png" width="640" alt="A LUKS passphrase prompt floating over the initrd tree">
|
||||
|
||||
It needs systemd ≥ 246 as PID 1, libdbus and a virtual terminal. With a
|
||||
It needs systemd ≥ 246 as PID 1,
|
||||
[libdbus](https://www.freedesktop.org/wiki/Software/dbus/) and a virtual terminal. With a
|
||||
systemd initrd it shows the boot from about a second after the kernel starts.
|
||||
|
||||
## Try it without installing
|
||||
@@ -25,7 +31,7 @@ systemd initrd it shows the boot from about a second after the kernel starts.
|
||||
Neither of these touches your system's boot.
|
||||
|
||||
Play a scripted boot, poweroff and encrypted-root boot in your terminal, with
|
||||
Rust installed:
|
||||
[Rust](https://www.rust-lang.org/tools/install) installed:
|
||||
|
||||
```sh
|
||||
git clone https://codeberg.org/wvhulle/bootvine.git
|
||||
@@ -38,8 +44,8 @@ cargo run --example luks
|
||||
`q` quits. The encrypted root unlocks with the passphrase `demo`; `Esc` quits
|
||||
while it asks.
|
||||
|
||||
Or, with Nix, boot a sample NixOS machine with slow and failing units in a
|
||||
QEMU window:
|
||||
Or, with [Nix](https://nixos.org/download/), boot a sample [NixOS](https://nixos.org) machine with slow and
|
||||
failing units in a [QEMU](https://www.qemu.org) window:
|
||||
|
||||
```sh
|
||||
nix run git+https://codeberg.org/wvhulle/bootvine#sample-machine-vm
|
||||
|
||||
Reference in new issue
Block a user