[ATrpms-users] /lib/modules/2.6.23.N-NN.fc8/updates/drivers not removed on kernel update

Axel Thimm Axel.Thimm at ATrpms.net
Thu Dec 27 08:33:48 CET 2007


On Wed, Dec 26, 2007 at 04:23:05PM -0500, Jeffrey J. Kosowsky wrote:
> Various kmdl packages create the directory ../updates/drivers when
> installed.
> However, these directories are not removed when kernels are updated
> and the corresponding old kernel kmdl packages are removed.
> 
> The result is I get left with old, stale (empty) module directories
> hanging around.
> 
> The problem lies only in some of the kmdl specs.
> For example,
> 
> nvidia does it right and has:
> 	%{kdmdl_moduledir}
> 
> But lirc has:
> 	%{kmdl_moduledir}/drivers/lirc
> 
> 	(which in my case explains why ../updates/drivers is not removed)
> 
> Similarly gspcav1 (and the uvc rpm that I just patterned on it) has:
> 	%{kmdl_moduledir}/drivers/usb/media/gspca.*o
> 
> 	which will leave you with: ../drivers/usb/media
> 
> In any case I will rebuild my new uvc rpm the right way and resubmit
> it to you.

Thanks, I fixed all specfiles. Any update will have this fixed in the
packages, too.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20071227/12148981/attachment.bin 


More information about the atrpms-users mailing list