Dan Barber:
> Thanks for the reply, but I'm still having problems.  Here are all of the 
> steps I'm taking, starting with a fresh kernel and a fresh 
> aufs2-standalone.  Please tell me where I'm going wrong...
        :::
> r...@host:/usr/local/src# cd /usr/src/linux
> r...@host:/usr/src/linux# patch -p1 < 
> /usr/local/src/aufs2-standalone.git/aufs2-standalone.patch
        :::
> r...@host:/usr/src/linux# make menuconfig
> fs/Kconfig:225: can't open file "fs/aufs/Kconfig"
> make[1]: *** [menuconfig] Error 1
> make: *** [menuconfig] Error 2

1.
If you want to build aufs statically, eg. CONFIG_AUFS_FS=y, then you
need to copy all
/usr/local/src/aufs2-standalone.git/{Documentation,fs,include} files to
/usr/src/linux. And config/build/install as usual.

2.
If you want to build aufs as an external kernel moudle,
eg. CONFIG_AUFS_FS=m, then you have two methods.

2-a.
same to 1. (see above)

2-b.
- revert fs/aufs/{Kconfig,Makefile} which was patched by
  aufs2-standalone.patch.
- config/build/install your kernel as usual (without copy).
- reboot with the new kernel.
- cd /usr/local/src/aufs2-standalone.git
- edit config.mk
- make
- copy ./aufs.ko to /lib/modules/..., and run depmod (or reboot simply).

I will describe more about compilation somewhere in
aufs2-standalone.git.


J. R. Okajima

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

Reply via email to