Closed freswa closed 4 years ago
To clarify: Arch kernels always installed vmlinuz in two places /usr/lib/modules/*/vmlinuz
and /boot/vmlinuz-$pkgbase
. Now they will install only the former and the latter will be created by mkinitcpio hook.
Thanks for pointing me to that. I've revised the PR comment above.
One problem is that the pacman hook is currently PostTransaction
, so when a kernel is being removed, /usr/lib/modules/<VER>/pkgbase
already doesn't exist.
I pushed a reworked version in e7de1fb31ac6795ef1e1746e5780f84c948f999d. You can check that it works.
Works for me. Thanks!
As discussed on the archlinux mailing list, archlinux is heading for a more modular initcpio packaging. The latest changes in the testing repo
moveremove the vmlinuz from /boot/vmlinuz-to /usr/lib/modules//vmlinuz . This PR adopts thenewlocation change in the sbupdate script and in the pacman hook.