#version-manager #kernel #systemd-boot #initialization #entry #friend #sbf

app systemd-boot-friend-rs

Kernel version manager for systemd-boot

38 releases

0.27.3 Aug 30, 2024
0.27.1 May 30, 2024
0.26.1 Sep 22, 2023
0.26.0 May 9, 2023
0.9.4 Sep 15, 2021

#41 in Unix APIs

Download history 152/week @ 2024-08-13 15/week @ 2024-08-20 154/week @ 2024-08-27 2/week @ 2024-09-03 9/week @ 2024-09-10 9/week @ 2024-09-17 41/week @ 2024-09-24 22/week @ 2024-10-01

1,965 downloads per month

MIT license

67KB
1.5K SLoC

Rust 1K SLoC // 0.1% comments BASH 413 SLoC FreeMarker 176 SLoC Shell 7 SLoC // 0.2% comments

Your systemd-boot's best friend ever (hopefully)

A kernel version manager for systemd-boot

Usage

First initialize friend and systemd-boot, this will also install the newest kernel to the specific path for systemd-boot.

sbf init

You can also manually select the kernel(s) you would like to register as boot entry(s).

sbf install-kernel

Subcommands are also supported, you may look up for them by executing the following command.

sbf --help

For further information, visit https://wiki.aosc.io/software/systemd-boot-friend/

Installation

cargo build --release
install -Dm755 target/release/systemd-boot-friend /usr/local/bin/systemd-boot-friend
PREFIX=/usr/local ./install-assets.sh

Or from crates.io

cargo install systemd-boot-friend-rs

Dependencies

Building:

  • Rust w/ Cargo
  • C compiler
  • make (when GCC LTO is used, not needed for Clang)

Runtime:

  • Systemd

Dependencies

~10–20MB
~259K SLoC