Re: question on compiling a driver early on at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux