[arch-general] mkinitcpio runs before linux-headers{, -lts} is installed
Hi, Currently, mkinitcpio runs before the correct version of linux-headers is installed, since linux gets upgraded before linux-headers gets upgraded. The reason this is a problem for me is that it interferes with dkms, nvidia, vboxguest, and other mkinitcpio install/hook scripts that need the linux-headers-X version to match the linux-X version. Currently, I have a custom kernel package (let's call it linux-ido), and linux-ido has linux-headers-ido in it's depends array, so that linux-headers-ido gets installed before linux-ido. (I do this in my kernel's PKGBUILD.) For linux and linux-lts PKGBUILDs, linux-headers{,-lts} isn't a mandatory dependency, nor should it be. However, if it is installed, it should be upgraded first so that dkms and any other mkinitcpio hooks that require linux-header{,-lts} can work without requiring that the user rerun mkinitcpio manually after linux-headers is installed... Not sure what the best way to accomplish this would be? Ido
On Mon, Dec 29, 2014 at 12:27 AM, Ido Rosen <ido@kernel.org> wrote:
Not sure what the best way to accomplish this would be?
Sounds like the case for pacman hooks. Those were still in the works though, last time checked. cheers! mar77i
On Mon, Dec 29, 2014 at 5:23 PM, Martti Kühne <mysatyre@gmail.com> wrote:
On Mon, Dec 29, 2014 at 12:27 AM, Ido Rosen <ido@kernel.org> wrote:
Not sure what the best way to accomplish this would be?
Sounds like the case for pacman hooks. Those were still in the works though, last time checked.
This is a pain point for me. What can I do to help make them happen sooner? :-)
Pacman SyncFirst.... I miss you :_( https://projects.archlinux.org/pacman.git/tree/NEWS#n122 https://bbs.archlinux.org/viewtopic.php?id=160697 2014-12-29 23:28 GMT+01:00 Ido Rosen <ido@kernel.org>:
On Mon, Dec 29, 2014 at 5:23 PM, Martti Kühne <mysatyre@gmail.com> wrote:
On Mon, Dec 29, 2014 at 12:27 AM, Ido Rosen <ido@kernel.org> wrote:
Not sure what the best way to accomplish this would be?
Sounds like the case for pacman hooks. Those were still in the works though, last time checked.
This is a pain point for me. What can I do to help make them happen sooner? :-)
participants (3)
-
Ido Rosen
-
Martti Kühne
-
SpinFlo