Re: [PATCH] kbuild: Do not write to builddir in modules_install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux