Skip to content

AOSC-Dev/systemd-boot-friend-rs

Folders and files

NameName
Last commit message
Last commit date
Aug 30, 2024
Jul 25, 2024
Apr 14, 2025
Mar 26, 2023
May 20, 2022
Apr 14, 2025
Apr 14, 2025
Apr 25, 2021
Apr 24, 2022
Oct 4, 2022
Aug 29, 2021
Aug 30, 2024

Repository files navigation

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