From: Keith Owens <kaos@ocs.com.au>
To: Alessandro Suardi <alessandro.suardi@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Bug] 2.5.25 build as one user and install as root
Date: Mon, 08 Jul 2002 11:22:06 +1000 [thread overview]
Message-ID: <12962.1026091326@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Sun, 07 Jul 2002 23:25:32 +0200." <3D28B1CC.9070002@oracle.com>
On Sun, 07 Jul 2002 23:25:32 +0200,
Alessandro Suardi <alessandro.suardi@oracle.com> wrote:
>Keith Owens wrote:
>>>>2.5.25 existing build system has a nasty bug. Build as one user then
>>>>make install as root. It does supurious recompiles of some files and
>>>>leaves them owned as root. All of these files are now owned by root
>>>>and cause problems when the build user wants to rebuild.
>
>I'm saying "doesn't happen for me" because it doesn't happen.
>
>I've been compiling kernel as non-root (and well, of course
> installing as root) since 1996.
Apply this patch to fix a bug with CONFIG_NET=n, CONFIG_LLC= which
shows up with allnoconfig.
Index: 25.1/net/core/Makefile
--- 25.1/net/core/Makefile Wed, 19 Jun 2002 14:11:35 +1000 kaos (linux-2.5/p/c/50_Makefile 1.4 444)
+++ 25.1(w)/net/core/Makefile Sat, 06 Jul 2002 18:27:16 +1000 kaos (linux-2.5/p/c/50_Makefile 1.4 444)
@@ -16,7 +16,7 @@ obj-$(CONFIG_FILTER) += filter.o
obj-$(CONFIG_NET) += dev.o dev_mcast.o dst.o neighbour.o rtnetlink.o utils.o
-ifneq ($(CONFIG_LLC),n)
+ifneq ($(subst n,,$(CONFIG_LLC)),)
obj-y += ext8022.o
endif
Then
make allnoconfig
make dep
make bzImage
su
make install
These files are rebuilt for make install, and are now owned by root.
'su' or 'su -' makes no difference.
include/linux/compile.h
arch/i386/boot/compressed/vmlinux.bin
arch/i386/boot/compressed/piggy.o
arch/i386/boot/compressed/vmlinux
arch/i386/boot/.setup.o.cmd
arch/i386/boot/setup.o
arch/i386/boot/setup
arch/i386/boot/vmlinux.bin
init/init.o
init/version.o
init/.version.o.cmd
.version
vmlinux
prev parent reply other threads:[~2002-07-08 1:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-06 8:35 [Bug] 2.5.25 build as one user and install as root Keith Owens
2002-07-06 11:28 ` Alessandro Suardi
2002-07-06 12:00 ` Keith Owens
2002-07-07 21:25 ` Alessandro Suardi
2002-07-08 1:22 ` Keith Owens [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12962.1026091326@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=alessandro.suardi@oracle.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox