Re: [PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-18 Thread Masahiro Yamada
On Tue, Dec 12, 2023 at 10:03 PM Michal Suchánek wrote: > > On Mon, Dec 11, 2023 at 01:29:15PM +0900, Masahiro Yamada wrote: > > On Mon, Dec 11, 2023 at 6:07 AM Michal Suchánek wrote: > > > > > > Hello! > > > > > > On Mon, Dec 11, 2023 at 03:43:44AM +0900, Masahiro Yamada wrote: > > > > On Thu,

Re: [PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-12 Thread Michal Suchánek
On Mon, Dec 11, 2023 at 01:29:15PM +0900, Masahiro Yamada wrote: > On Mon, Dec 11, 2023 at 6:07 AM Michal Suchánek wrote: > > > > Hello! > > > > On Mon, Dec 11, 2023 at 03:43:44AM +0900, Masahiro Yamada wrote: > > > On Thu, Dec 7, 2023 at 4:48 AM Michal Suchanek wrote: > > > > > > > > Some

Re: [PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-10 Thread Masahiro Yamada
On Mon, Dec 11, 2023 at 6:07 AM Michal Suchánek wrote: > > Hello! > > On Mon, Dec 11, 2023 at 03:43:44AM +0900, Masahiro Yamada wrote: > > On Thu, Dec 7, 2023 at 4:48 AM Michal Suchanek wrote: > > > > > > Some distributions aim at shipping all files in /usr. > > > > > > The path under which

Re: [PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-10 Thread Michal Suchánek
Hello! On Mon, Dec 11, 2023 at 03:43:44AM +0900, Masahiro Yamada wrote: > On Thu, Dec 7, 2023 at 4:48 AM Michal Suchanek wrote: > > > > Some distributions aim at shipping all files in /usr. > > > > The path under which kernel modules are installed is hardcoded to /lib > > which conflicts with

Re: [PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-10 Thread Woody Suwalski
Masahiro Yamada wrote: On Thu, Dec 7, 2023 at 4:48 AM Michal Suchanek wrote: Some distributions aim at shipping all files in /usr. The path under which kernel modules are installed is hardcoded to /lib which conflicts with this goal. When kmod provides kmod.pc, use it to determine the

Re: [PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-10 Thread Masahiro Yamada
On Thu, Dec 7, 2023 at 4:48 AM Michal Suchanek wrote: > > Some distributions aim at shipping all files in /usr. > > The path under which kernel modules are installed is hardcoded to /lib > which conflicts with this goal. > > When kmod provides kmod.pc, use it to determine the correct module >

[PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-06 Thread Michal Suchanek
Some distributions aim at shipping all files in /usr. The path under which kernel modules are installed is hardcoded to /lib which conflicts with this goal. When kmod provides kmod.pc, use it to determine the correct module installation path. With kmod that does not provide the config