Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

tier-0: enable kernel-install cliwrap #377

Closed
wants to merge 1 commit into from

Commits on Feb 29, 2024

  1. tier-0: enable kernel-install cliwrap

    Until the native kernel-install is OSTree and container aware[[1]], we
    need to have a custom `kernel-install` for kernel replacements to work
    in a derived build.
    
    This will make it so that users don't have to first install the wrappers
    themselves in their Containerfiles[[2]].
    
    The caveat with this is that if anywhere in the derivation, systemd is
    updated, the update will retake ownership of `/usr/bin/kernel-install`,
    which means that a further kernel replacement down the derivation chain
    would hit issues. We can document that. This still seems worth the UX
    improvement in the common case.
    
    [1]: coreos/rpm-ostree#4726
    [2]: https://github.com/coreos/layering-examples/blob/9329023b/replace-kernel/Containerfile#L4
    jlebon committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    224ae97 View commit details
    Browse the repository at this point in the history