#systemd #boot #kernel #path #systemd-boot

app systemd-boot-friend-rs

Kernel version manager for systemd-boot

26 releases (14 breaking)

0.24.1 Sep 1, 2022
0.24.0 Jun 30, 2022
0.23.2 Apr 27, 2022
0.18.1 Mar 8, 2022
0.9.4 Sep 15, 2021

#105 in Unix APIs

Download history 2/week @ 2022-06-17 13/week @ 2022-06-24 40/week @ 2022-07-01 31/week @ 2022-07-08 27/week @ 2022-07-15 85/week @ 2022-07-22 15/week @ 2022-07-29 1/week @ 2022-08-05 1/week @ 2022-08-12 25/week @ 2022-08-19 42/week @ 2022-08-26 9/week @ 2022-09-02 36/week @ 2022-09-09 5/week @ 2022-09-16 2/week @ 2022-09-23

64 downloads per month

MIT license

56KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments BASH 205 SLoC FreeMarker 173 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

~7–13MB
~241K SLoC