I have to forward this mail which didn't reach to Austen Dicken who
reported his problem to the Public Forum on SourceForge.
It is very hard for me to reply on the web browser.
I hope he will read this message someday, somewhere...


------- Forwarded Message

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: aufs Makefile version check causes failure on Gentoo Linux
Date: Tue, 06 May 2008 09:40:55 +0900
Message-ID: <[EMAIL PROTECTED]>


Hello Austen,
Thank you for your report and patch.
Usually I don't check the Public Forum on SourceForge as I wrote in the
aufs README file, so I'd ask you to join aufs-users ML and post there.
We might waste a lot of time.


> This is more of a specialize issue with Gentoo Linux, but in the recent CVS
> tree, the local.mk file includes a check for the kernel version (whether
> pre-2.6.25 or not).
>
> This check uses the "make kernelversion" functionality of the kernel build
> directory. The only problem is that make causes temporary files to be
> created within the build directory, which throws a "sandbox violation" on
> Gentoo systems.
>
> I normally wouldn't request upstream to be concerned about a specific
> distribution, but I was curious as to whether there was a reason that "make
> kernelversion" is used instead of "uname -r", even though "uname -r" is
> used in the line above to determine the kernel build directory?

When you build aufs for a diffrent version of kernel, you will execute
"make KDIR=..." In this case "uname -r" in local.mk has no meaning, and
aufs build system needs to invoke "make -C ${KDIR} kernelversion" to get
the correct version.

If you generate fs/aufs/Kconfig by "make kconfig" and copy all the
necessary aufs files to your kernel tree, then you don't need local.mk
any more. I guess this is the best solution for you.


Junjiro Okajima

------- End of Forwarded Message

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Reply via email to