Re: [kbuild regression, post-rc1] Remote installation over read-onlyNFS broken

From: Linus Torvalds
Date: Mon Jun 07 2010 - 10:48:19 EST




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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/