public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Michal Marek <mmarek@suse.cz>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [kbuild regression, post-rc1] Remote installation over read-only NFS broken
Date: Mon, 7 Jun 2010 07:41:42 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.1006070732170.3515@i5.linux-foundation.org> (raw)
In-Reply-To: <201006071110.26245.rjw@sisk.pl>



On Mon, 7 Jun 2010, Rafael J. Wysocki wrote:
> 
> Namely, I build kernels on a central machine and export the build directory
> along with the kernel sources over read-only NFS to test boxes.  Then, on the
> test boxes I run "make modules_install", copy the kernel to /boot, run mkinitrd
> and so on.  Now, after your commit above the "make modules_install" command on
> the test boxes doesn't work any more, because it tries to write to the build
> directory, which is mounted read-only.
> 
> Please fix or revert.

Ahh. It's broken for another reason too. Even if it's a writable 
filesystem, it means that there's a lot of files that get written by root 
(since you have to be root to do the install). Which is very 
uncomfortable, and we've tried very hard to avoid that.

So it _should_ be possible to do a build as a normal user, and then do the 
install as root, and afterwards

	find . -user root

should return the empty set (which in practice ends up being basically the 
same thing as Rafaels requirement that it work on a read-only build).

			Linus

  parent reply	other threads:[~2010-06-07 14:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-07  9:10 [kbuild regression, post-rc1] Remote installation over read-only NFS broken Rafael J. Wysocki
2010-06-07 11:28 ` Michal Marek
2010-06-07 14:41 ` Linus Torvalds [this message]
2010-06-07 21:16   ` Michal Marek
2010-06-07 22:06     ` Rafael J. Wysocki
2010-06-10  1:11     ` Stephen Rothwell
2010-06-10 10:25       ` Michal Marek

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=alpine.LFD.2.00.1006070732170.3515@i5.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=rjw@sisk.pl \
    /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