From: Michal Marek <mmarek@suse.cz>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: Christian Kujau <lists@nerdbynature.de>,
linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org
Subject: Re: [PATCH] kbuild: Do not write to builddir in modules_install
Date: Wed, 13 Jul 2011 11:21:26 +0200 [thread overview]
Message-ID: <4E1D6396.1070200@suse.cz> (raw)
In-Reply-To: <CAM_iQpWfSFPcvDJCDwS9ADCEvw-6A3wyUh+kkhgqHOi2Zx_eSg@mail.gmail.com>
On 13.7.2011 03:05, Américo Wang wrote:
> On Tue, Jul 12, 2011 at 7:39 PM, Michal Marek<mmarek@suse.cz> wrote:
>> Let depmod.sh create a temporary directory in /tmp instead of writing to
>> the build directory as root. The mktemp utility should be available on
>> any recent system (and there is already scripts/gen_initramfs_list.sh
>> relying on it).
>>
>
> 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).
Michal
next prev parent reply other threads:[~2011-07-13 9:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 9:49 .tmp_depmod owned by root after modules_install Christian Kujau
2011-07-08 20:26 ` Christian Kujau
2011-07-12 11:39 ` [PATCH] kbuild: Do not write to builddir in modules_install Michal Marek
2011-07-13 1:05 ` Américo Wang
2011-07-13 9:21 ` Michal Marek [this message]
2011-07-13 11:22 ` Américo Wang
2011-07-13 22:19 ` Christian Kujau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E1D6396.1070200@suse.cz \
--to=mmarek@suse.cz \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lists@nerdbynature.de \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox