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

layout/blspec.py: also clean-up UKI's with 'gentoo' prefix #45

Closed
wants to merge 1 commit into from

Conversation

Nowa-Ammerlaan
Copy link
Contributor

@Nowa-Ammerlaan Nowa-Ammerlaan commented Nov 30, 2023

With version 8 installkernel-gentoo gains an optional plugin to install UKIs to the usual location at ${ESP}/EFI/Linux (i.e. BLS type 2 layout). This is useful for boot loaders such as systemd-boot that auto discover UKIs at this location, as well as for EFI stub booting where it is required to have the UKI on the ESP (which is not necessarily mounted at /boot).

Because the entry-token that is the usual prefix for these UKIs is specific to systemd and kernel-install (i.e. installkernel-systemd), installkernel-gentoo prefixes the UKIs with 'gentoo' instead. The changes here ensure that eclean-kernel recognizes these UKIs as ours and cleans them up as well.

With version 8 installkernel-gentoo gains an optional plugin to install UKIs
to the usual location at ${ESP}/EFI/Linux (i.e. BLS type 2 layout). This
is useful for boot loaders such as systemd-boot that auto discover UKIs at
this location, as well as for EFI stub booting where it is required to have
the UKI on the ESP (which is not necessarily mounted at /boot).

Because the entry-token that is the usual prefix for these UKIs is specific
to systemd and kernel-install (i.e. installkernel-systemd), installkernel-gentoo
prefixes the UKIs with 'gentoo' instead. The changes here ensure that eclean-
kernel recognizes these UKIs as ours and cleans them up as well.

Signed-off-by: Andrew Ammerlaan <[email protected]>
Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mgorny mgorny closed this in 9b2b4f1 Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants