lkml.org 
[lkml]   [2011]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kbuild: Do not write to builddir in modules_install
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-07-13 11:23    [W:0.058 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site