Saturday, February 9, 2013

mrebuild.sh - rebuild modules after a kernel update

This script is used to rebuild all third party modules after a kernel update. modules-rebuild doesn't  always pull in all the packages you need, so this gives an easy config file to specify additional modules, packages, and commands. Making the rebuild of everything necessary after a kernel update a one-liner.

  • download mrebuild.sh and put in /usr/local/bin
  • download mrebuild.conf and put in /etc/conf.d
  • view and modify mrebuild.conf if necessary
  • `mrebuild.sh --go` will kick off the rebuild process

This script can also be downloaded http://pastebin.com/BBsZGZxV

mrebuild.sh



This config file can also be downloaded http://pastebin.com/iPs7hz1e

mrebuild.conf

No comments:

Post a Comment