Re: [PATCH] kbuild: Do not write to builddir in modules_install
From: Christian Kujau
Date: Wed Jul 13 2011 - 18:19:26 EST
On Wed, 13 Jul 2011 at 19:22, AmÃrico Wang wrote:
> >> Hmm, why not use $objtree/.tmp_depmod?
> >
> > That's how it was done before and it's broken. make modules_install is
> > usually ran as root and there is no guarantee that root has write access to
> > the build directory (it can be on nfs).
>
> Hmm, this is reasonable. Then I am fine with this patch.
Tested here, works fine, even with a noexec-mounted $TMPDIR. Thanks!
Christian.
--
BOFH excuse #62:
need to wrap system in aluminum foil to fix problem
--
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/