Michael Ditum wrote: >Sorry about that... here's the patch with context... > >Mike > >On 15/12/05, Michael Krufky <mkrufky@xxxxxxxxx> wrote: > > >>On 12/14/05, Michael Ditum <mike@xxxxxxxxxxxxxxx> wrote: >> >> >>>I'm trying to write a script to install a new kernel and then the >>>latest v4l-dvb drivers. This means that the kernel I am building >>>against will not be the current one running. >>> >>>I have managed to get it building fine by adding a v4l/.version file >>>containing the following... >>> >>>VERSION=2 >>>PATCHLEVEL:=6 >>>SUBLEVEL:=14 >>>KERNELRELEASE:=2.6.14-2-smp >>> >>>However when I go to do a make install I have a problem. The script >>>copies the modules into the correct place but then runs a ` >>>/sbin/depmod -a`. This however runs against the current kernel so >>>works out the module dependencies for the 2.6.12 kernel I'm running. >>> >>>I've managed to fix this by changing all instances of /sbin/depmod -a to... >>> >>> /sbin/depmod -a ${KERNELRELEASE} >>> >>>This seems to work fine. >>> >>>I've attached a patch to fix this in the Makefile. Can this be >>>commited or is there a better way of doing this? >>> Applied to cvs. Thank you. -Michael Krufky