Re: [PATCH kmod v4 4/4] libkmod, depmod, modprobe: Make directory for kernel modules configurable
From: Jan Engelhardt <hidden>
Date: 2023-07-18 12:42:48
Also in:
linux-kbuild, lkml
From: Jan Engelhardt <hidden>
Date: 2023-07-18 12:42:48
Also in:
linux-kbuild, lkml
On Tuesday 2023-07-18 14:27, Michal Suchánek wrote:
quoted
quoted
That breaks kmod for the usrmerged distributions, though.Does it though? The *distro* has /lib -> /usr/lib, the *staging area* for installation does not.Yes, currently the fully installed distribution has the symlink, at least openSUSE does. However, there is a goal to remove it eventually, and even now it is not present at all times.
The ELF interpreter /lib/ld-linux.so.2 is hardcoded everywhere. Making /lib a directory again and bindmounting/symlinking all the ELF interpreters, that seems to entail a bit more work than just leaving /lib as a symlink.