Frequently when emerging external kernel modules I get file collisions like: man: gzipping man page: ndiswrapper.8 strip: i686-pc-linux-gnu-strip --strip-unneeded sbin/loadndisdriver * checking 11 files for package collisions existing file /lib/modules/2.6.18-gentoo-r3/misc/ndiswrapper.ko is not owned by this package * spent 0.0637781620026 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org This is cause by doing the following: 1. emerge a kernel module for version x.1 2. emerge a kernel module for version x.2 3. emerge a kernel module for version x.1 So I propose we record the package that files under a configuration file protection belong to so that when emerging again for version x.1. Portage would not give a file collision.
Is COLLISION_IGNORE="/lib/modules" in make.conf good enough? It's already implemented...
(In reply to comment #1) > Is COLLISION_IGNORE="/lib/modules" in make.conf good enough? It's already > implemented... Indeed, this is exactly why I requested this feature in Bug 149412. :) Another special cases for kernel modules stuff are not a good idea IMHO, the hardcoded COLLISION_PROTECT on /lib/modules sucks enough :)
So can this be closed?
No answer == positive answer