Skip to content

Add prefer command that takes a valid kernel version string as its argument #62

Description

@ermo

systemd-boot apparently supports a loader.conf default @saved setting. [1], [2] (thanks to @aj8xr0 for the pointer).

The goal of the prefer code path would be to have blsforme ensure that the preferred kernel is correctly set in loader.conf (whatever that ends up looking like).

It might even support auto-updating to prefer the newest "aerynos*" family kernel that we are booted into.

The idea is to be able to manually run moss boot prefer <the releveant kernel version string> (with autocomplete support), followed by moss boot sync.

This feature should also enable us to select non-aerynos kernels for dual-boot purposes.

1: https://www.man7.org/linux/man-pages/man7/systemd-boot.7.html
2: https://www.man7.org/linux/man-pages/man5/loader.conf.5.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions