Re: [gentoo-dev] [PATCH] kernel-install.eclass: run depmod after compressing modules

2024-08-09 Thread Andrew Nowa Ammerlaan
On 09/08/2024 18:11, Michał Górny wrote: On Fri, 2024-08-09 at 17:49 +0200, Andrew Ammerlaan wrote: (de)compressing modules changes the path of the module files so we need to run depmod to ensure that tools such as modprobe/modinfo work. Note that depmod is often, but *not* always, run by sys-k

Re: [gentoo-dev] [PATCH] kernel-install.eclass: run depmod after compressing modules

2024-08-09 Thread Michał Górny
On Fri, 2024-08-09 at 17:49 +0200, Andrew Ammerlaan wrote: > (de)compressing modules changes the path of the module files so we need to > run depmod to ensure that tools such as modprobe/modinfo work. > > Note that depmod is often, but *not* always, run by sys-kernel/installkernel. > Systemd insta

[gentoo-dev] [PATCH] kernel-install.eclass: run depmod after compressing modules

2024-08-09 Thread Andrew Ammerlaan
(de)compressing modules changes the path of the module files so we need to run depmod to ensure that tools such as modprobe/modinfo work. Note that depmod is often, but *not* always, run by sys-kernel/installkernel. Systemd installs a hook to do this, but there is no equivalent on openrc systems.