I have an ongoing issue with this package -- since it provides an initcpio preset file, any changes I make to it are moved to a .pacsave file and not restored on upgrade. (My specific case for editing the initcpio preset, by the way, is that I use UKIs to be picked up automatically by systemd-boot.)
I checked documentation, and kernel packages actually should not provide their own initcpio preset. Instead, these are generated/restored by /usr/share/libalpm/hooks/90-mkinitcpio-install.hook
, and removed/backed up by 60-mkinitcpio-remove.hook
.
What happens on upgrade is this:
-
60-mkinitcpio-remove.hook
moves the modifiedlinux-amd-znver3.preset
tolinux-amd-znver3.preset.pacsave
-
the package installs its own
linux-amd-znver3.preset
-
90-mkinitcpio-install.hook
sees thatlinux-amd-znver3.preset
already exists and forgoes overwriting it withlinux-amd-znver3.preset.pacsave
.
So please, remove the .preset file from this package and related ones.
And of course, many thanks for your effort in providing these kernels and the binary repo!
Pinned Comments
<deleted-account> commented on 2023-05-07 09:41 (UTC)
Tired of compiling? Use this binary repo instead! Add this at the end of /etc/pacman.conf :