[lkml]   [2010]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [kbuild regression, post-rc1] Remote installation over read-only NFS broken

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).


 \ /
  Last update: 2010-06-07 16:51    [W:0.062 / U:2.748 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site