[arch-general] /lib to /usr/lib : custom kernel

Tom Gundersen teg at jklm.no
Sat Jul 14 18:13:13 EDT 2012


On Sat, Jul 14, 2012 at 11:18 PM, set <nmset at netcourrier.com> wrote:
> I updated one machine following instructions on archlinux.org and the process
> was flawless. That machine was running the Arch kernel.
>
> I dare not do it on another machine running a custom kernel. Will a system
> update break the setup because /lib/modules contains a kernel not managed by
> pacman ? If so, how to proceed ? Should the custom kernel be removed first ?

If the kernel was installed with pacman, then change the PKGBUILD to
install it into /usr/lib and rebuild the package.

If you installed directly into /lib/modules, that means that no
package owns the modules, so you can just move them manually to
/usr/lib/modules and everything will be ok (this is what I did on my
machine with a custom kernel).

-t


More information about the arch-general mailing list