Am 26.11.2010 13:58, schrieb [email protected]:
> Thomas Sachau:
>>> Actually I or aufs2-stdalone.git/Makefile doesn't try to rm file under
>>> /usr/src/linux.
>>> I'd suggest you to modify Makefile such as
>>> =20
>>> - usr/include/linux/aufs_type.h: d =3D $(shell echo ${CURDIR} | cut -c2=
>> -)
>>> + usr/include/linux/aufs_type.h: d =3D ${CURDIR}
>>
>> Same result with this change for the rm part.
> 
> Then how and which process is trying rm?

You seem to execute scripts/Makefile.headerinst inside the kernel source dir, 
which operates inside
the kernel source dir, but of course has not access right there.

> 
> 
>> And a build process for any package should not require invoking Makefiles=
>>  from other packages to be
>> run during the build process. Especially, since the linux kernel Makefile=
>>  cannot know about the
>> current builddir, where aufs2 kernel module is build.
> 
> You might still misunderstand.
> "make headers_install" in linux kernel creates and installs header
> files, and aufs2-util refers them.

That may be possible, but the encouraged and most common way is to install a 
package called
"kernel-headers" instead of installing headers from the kernel sources and i 
have those kernel
headers installed. They of course dont install any aufs2 specific headers.


-- 
Thomas Sachau

Gentoo Linux Developer

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev

Reply via email to