All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Michal Marek <mmarek@suse.cz>
Cc: Jan Beulich <JBeulich@suse.com>,
	dt.tangr@gmail.com, Geert Uytterhoeven <geert@linux-m68k.org>,
	James Hogan <james.hogan@imgtec.com>,
	Christian Kujau <lists@nerdbynature.de>,
	Mike Marciniszyn <mike.marciniszyn@intel.com>,
	Nicolas Dichtel <nicolas.dichtel@6wind.com>,
	robert.richter@calxeda.com,
	"Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>,
	zzs0213@gmail.com,
	Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [GIT] kbuild changes for v3.11-rc1
Date: Wed, 10 Jul 2013 19:11:53 -0700	[thread overview]
Message-ID: <CA+55aFxtvT3Yvbxe5JGBThZS13payymFJ7jCLyEiE2iNDvsZtQ@mail.gmail.com> (raw)
In-Reply-To: <20130710133742.GA29368@emu.suse.cz>

On Wed, Jul 10, 2013 at 6:37 AM, Michal Marek <mmarek@suse.cz> wrote:
>
> please pull the kbuild bits for v3.11-rc1:

THIS IS SOME HORRIBLY BROKEN CRAP.

"make install" and "make modules_install" ABSOLUTELY MUST NOT MODIFY
THE SOURCE TREE.

Dammit, this has happened before, and it was broken then, and it is broken now.

If they do, they are *F*CKING*BROKEN*. They are really really badly
broken, since we do *not* want root to write to the source tree. You
should build the tree as a normal user, and install as root, and
dammit, if there are any root-owned files in the source tree after
that "make install", then the build system is broken.

You need to start being more careful. And I would seriously suggest
you start doing some explicit testing for this. You can do things like
"find . -user root", and if that shows a single file in the kernel
tree after a "make [modules_]install", then there's a problem.

Commit d2aae8477cd00325bb7c7c7e95be488088900c48 is broken. It causes
root to re-write "include/config/kernel.release".

There is no excuse for this. That commit is shit. There's no way in
hell that "make modules_install" should ever rebuild anything, so
adding that kind of dependency is fundamentally wrong and broken.

And that totally crap commit is even marked for stable.

I hate hate hate when this kind of crap happens. In this case I
noticed it because the git commit abbreviation rules are different for
root and for a normal user on my machine, and so running that
version-generation script as root actually GIVES THE WRONG ANSWER - it
gives a different version than the one the kernel was actually built
with.

So no. We do *not* start adding random dependencies to the install
targets. Because they damn well should not be building anything.

                           Linus

  reply	other threads:[~2013-07-11  2:11 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 13:37 [GIT] kbuild changes for v3.11-rc1 Michal Marek
2013-07-11  2:11 ` Linus Torvalds [this message]
2013-07-11  4:26   ` Greg KH
2013-07-11 13:54   ` Michal Marek
2013-07-11 13:54     ` Michal Marek
2013-07-11 17:16     ` Linus Torvalds
2013-07-12 10:57       ` Robert Richter
2013-07-17 16:05         ` [PATCH] arm, kbuild: make "make install" not depend on vmlinux Robert Richter
2013-07-17 16:05           ` Robert Richter
2013-07-17 16:05           ` Robert Richter
2013-07-17 16:36           ` Linus Torvalds
2013-07-17 16:36             ` Linus Torvalds
2013-07-17 16:36             ` Linus Torvalds
2013-07-17 16:57             ` Robert Richter
2013-07-17 16:57               ` Robert Richter
2013-07-17 16:57               ` Robert Richter
2013-07-17 17:03               ` Linus Torvalds
2013-07-17 17:03                 ` Linus Torvalds
2013-07-17 17:03                 ` Linus Torvalds
2013-07-18  9:22                 ` Michal Marek
2013-07-18  9:22                   ` Michal Marek
2013-07-18  9:22                   ` Michal Marek
2013-09-30  8:49                   ` Robert Richter
2013-09-30  8:49                     ` Robert Richter
2013-09-30  8:49                     ` Robert Richter
2013-09-30 16:31                     ` Yann E. MORIN
2013-09-30 16:31                       ` Yann E. MORIN
2013-09-30 16:31                       ` Yann E. MORIN
2013-10-09  7:18                       ` Geert Uytterhoeven
2013-10-09  7:18                         ` Geert Uytterhoeven
2013-10-09  7:18                         ` Geert Uytterhoeven
2013-10-09 10:28                         ` Michal Marek
2013-10-09 10:28                           ` Michal Marek
2013-10-09 10:28                           ` Michal Marek
2013-10-09 10:46                           ` Geert Uytterhoeven
2013-10-09 10:46                             ` Geert Uytterhoeven
2013-10-09 10:46                             ` Geert Uytterhoeven

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=CA+55aFxtvT3Yvbxe5JGBThZS13payymFJ7jCLyEiE2iNDvsZtQ@mail.gmail.com \
    --to=torvalds@linux-foundation.org \
    --cc=JBeulich@suse.com \
    --cc=dt.tangr@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=james.hogan@imgtec.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists@nerdbynature.de \
    --cc=mike.marciniszyn@intel.com \
    --cc=mmarek@suse.cz \
    --cc=nicolas.dichtel@6wind.com \
    --cc=robert.richter@calxeda.com \
    --cc=yselkowitz@users.sourceforge.net \
    --cc=zzs0213@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.