Hello, Sam!
On Sun, 2006-04-30 at 23:47 +0200, Sam Ravnborg wrote:
> On Mon, Apr 24, 2006 at 03:55:27PM -0400, Pavel Roskin wrote:
> > Remove *.mod files but not .tmp_versions for external builds
> >
> > From: Pavel Roskin <[email protected]>
> >
> > When "make install" is run as root, .tmp_versions is re-created and
> > becomes owned by root. Subsequent "make" run by user fails because
> > .tmp_versions cannot be removed.
>
> What architecture?
> For i386 and x86_64 make install no longer try to compile the kernel.
That's x86_64. It turns out the dependency of "install" on "all" in the
project Makefile was causing .tmp_versions to be re-created. Removing
the dependency on "all" fixes the problem. This is the original rule:
install: all
$(MAKE) $(KBUILD_FLAGS) modules_install \
INSTALL_MOD_DIR=kernel/drivers/net/wireless
$(DEPMOD) -ae
However, I'd rather keep the dependency of "install" on "all". It's
better to compile a few files as root than to install out-of-date
modules. I'm glad that your patch gives me a choice how to write the
project's Makefile.
--
Regards,
Pavel Roskin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]