[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.01.1107131518280.9183@trent.utfs.org>
Date: Wed, 13 Jul 2011 15:19:20 -0700 (PDT)
From: Christian Kujau <lists@...dbynature.de>
To: Américo Wang <xiyou.wangcong@...il.com>
cc: Michal Marek <mmarek@...e.cz>, linux-kernel@...r.kernel.org,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] kbuild: Do not write to builddir in modules_install
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists