spec: backport --entry-type support to kernel-install preun#1463
Open
bmastbergen wants to merge 1 commit into
Open
spec: backport --entry-type support to kernel-install preun#1463bmastbergen wants to merge 1 commit into
bmastbergen wants to merge 1 commit into
Conversation
Without --entry-type, uninstalling the UKI package runs `kernel-install remove` which removes all boot entries for that kernel version, including the Type #1 BLS entry belonging to kernel-core. This was fixed upstream in the 6.18 spec. Backport the fix: add -e flag support to the kernel_variant_preun macro which, when kernel-install supports --entry-type, passes --entry-type type1 for core packages and --entry-type type2 for UKI packages. A runtime probe ensures graceful degradation on older systemd versions. Signed-off-by: Brett Mastbergen <bmastbergen@ciq.com>
ciq-kernel-automation
Bot
changed the base branch from
ciq-6.12.y
to
_pr_parking_ciq-6.12.y_run30136556273
July 25, 2026 00:43
|
⏳ A rebase of Workflow run: https://github.com/ctrliq/kernel-src-tree/actions/runs/30136556273 |
|
Workflow run: https://github.com/ctrliq/kernel-src-tree/actions/runs/30136556273 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Without --entry-type, uninstalling the UKI package runs
kernel-install removewhich removes all boot entries for that kernel version, including the Type #1 BLS entry belonging to kernel-core. This was fixed upstream in the 6.18 spec.Backport the fix: add -e flag support to the kernel_variant_preun macro which, when kernel-install supports --entry-type, passes --entry-type type1 for core packages and --entry-type type2 for UKI packages. A runtime probe ensures graceful degradation on older systemd versions.