I have noticed in /etc/inittab it calls /etc/rc.d/rc.sysinit and in there ANYTHING with a .modules name in the /etc/sysconfig/modules directory is executed.
Would this be a place to put a driver.modules file and recompile my driver BEFORE entering the next run level?
Is that how this is done or is there a "prefered" way?
My goal is to detect a kernel change after a yum update and recompile my driver before its needed.
Thanks,
Jerry
Jerry Geis wrote:
I have noticed in /etc/inittab it calls /etc/rc.d/rc.sysinit and in there ANYTHING with a .modules name in the /etc/sysconfig/modules directory is executed.
Would this be a place to put a driver.modules file and recompile my driver BEFORE entering the next run level?
Is that how this is done or is there a "prefered" way?
My goal is to detect a kernel change after a yum update and recompile my driver before its needed.
My preferred way is to use dkms, but have not tried to roll my own. Have not tried your suggested approach, but don't see why it would not work.
Phil