Re: [PATCH] modules_install must not remove existing modules

From: Andreas Gruenbacher
Date: Wed Apr 05 2006 - 18:07:39 EST


On Wednesday 05 April 2006 23:52, Valdis.Kletnieks@xxxxxx wrote:
> Can this be re-worked to ensure that it clears the target directory
> the *first* time? It would suck mightily if a previous build of 2.6.17-rc2
> left a net_foo.ko lying around to get insmod'ed by accident (consider the
> case of CONFIG_NETFOO=m getting changed to y or n, and other possible
> horkage. Module versioning will catch some, but not all, of this crap....)

We could wipe away everything in the non-external modules_install case (not
only everything below kernel/ as is done now). The problem here is that
different external modules_install calls into the same dir conflict.

Andreas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/