Re: [PATCH] modules_install must not remove existing modules
From: Valdis . Kletnieks
Date: Wed Apr 05 2006 - 17:53:25 EST
On Wed, 05 Apr 2006 23:33:50 +0200, Andreas Gruenbacher said:
> When installing external modules with `make modules_install', the
> first thing that happens is a rm -rf of the target directory. This
> works only once, and breaks when installing more than one (set of)
> external module(s).
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....)
Attachment:
pgp00000.pgp
Description: PGP signature