Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mkosi-initrd #132

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 4, 2024

  1. Add support for mkosi-initrd

    `mkosi` provides the `mkosi-initrd` script [1], which allows to generate initrds
    locally on the system. Although it is not equivalent in features to `dracut`,
    it's a valid alternative with its own benefits in some use cases:
    - Clear ownership of bugs: no 3rd party binary (e.g. dracut) deciding what is
    installed from each package or even modifying them.
    - Any change on a package configured to be included would automatically apply to
    the initrd (if the package triggers initrd rebuild).
    - It attempts to shift the maintenance effort from the initrd generator to the
    responsible package.
    
    To choose which initrd generator will be used, use a new `INITRD_GENERATOR`
    option in `/etc/sysconfig/bootloader`. If not defined, the default will still be
    dracut.
    
    [1] systemd/mkosi@99ca14c
    aafeijoo-suse committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8886451 View commit details
    Browse the repository at this point in the history