Sam Morris wrote: > On Wed, 07 Jan 2009 20:42:06 +0000, Guy Coates wrote: > >> The current way I am handling the install is to rename the existing >> kernel modules in the package preinst and postrm scripts before running >> depmod. > > Yikes! > >> This has the potential to break horribly if the user updates the current >> kernel with a point release, as the older kernel modules will be put >> back in place. >> >> Is there a better way to handle this? > > Absolutely. :) > > I believe you can install your modules under /lib/modules/<kernel- > version>/updates and depmod will prefer them to the kernel's own modules. > > http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=30;bug=276660 > Ah, I did not know that depmod "Did the right thing". That makes life much simpler!
Cheers, Guy -- Dr Guy Coates, Informatics System Group The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1HH, UK Tel: +44 (0)1223 834244 ex 6925 Fax: +44 (0)1223 496802 -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

