Closed AndrewAmmerlaan closed 2 weeks ago
Alternatively we can simply skip these entries (meaning entries with no version).
These static files won't be updated unless the user manually created one in the first place, and since the path is static there is really no need for uefi-mkconfig to do anything with them. The user probably already created some UEFI entry for it manually.
As a side note, when testing be sure to apply this fix first: https://github.com/projg2/installkernel-gentoo/commit/f870ec003adb7b0c58b4005f64613a1583b7e6c7 (will release that as a new version soon)
Hello!
Alternatively we can simply skip these entries (meaning entries with no version).
These static files won't be updated unless the user manually created one in the first place, and since the path is static there is really no need for uefi-mkconfig to do anything with them. The user probably already created some UEFI entry for it manually.
even though I think that all you said here is correct, I would fix it and leave it there. Just so the functionality is consistent and we don't have to make a list of exceptions.
So let's leave it on by default. Uefi-mkconfig has built in ignore functionality so if user wishes for it to be ignored, it is easy to do so. Not so much the other way around.
Fix was merged
sys-kernel/installkernel[-systemd]
has the capability of updating a version-less copy of the kernel when installing the kernel.For example:
If the files without a version are found, the versioned installed file is copied there.
Uefi-mkconfig finds these files and does create an entry for them, but for specifically
vmlinuz.efi
theinitrd=initramfs.img
is missing. Forvmlinuz-old.efi
it does work correctly: