|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

module-rebuild - rebuild modules after kernal upgrade

Oh ’tis a useful little tool. module-rebuild keeps track of all the packages which installs into the kernel, so when we upgrade to a new kernel it can rebuild these now outdated packages for us.

To install:

$ emerge module-rebuild
# Populate the database with any packages which currently install drivers into the running kernel.
$ module-rebuild populate

After a kernal upgrade, run:

$ module-rebuild list # to list affected packages
$ module-rebuild rebuild # and to build

Leave a Reply

You must be logged in to post a comment.