Hello, On Saturday 27 February 2010 08:04:26, Michael Gilbert wrote: > package: dkms > version: 2.1.1.2-2 > severity: normal > > when removing a kernel which has previously had dkms modules built > for it, the user will see the following message: > > rmdir: failed to remove `/lib/modules/2.6.32-2-amd64': Directory not > empty dpkg: warning: while removing linux-image-2.6.32-2-amd64, directory > '/lib/modules/2.6.32-2-amd64' not empty so not removed. > > this is because dkms doesn't have any cleanup code to remove the > modules and files it creates.
I believe this should be handled by kernels' prerm; the only thing we could do is providing a wrapper to which the prerm passes the removed version (and inside which we issue the proper command for cleaning up DKMS modules). David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Pkg-dkms-maint mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-maint
