|
From: Serge L. <ser...@gm...> - 2014-12-04 18:13:51
|
Hi Andrzej,
works for me, x86_64 only.
> GNU C Library (GNU libc) stable release version 2.19, by Roland McGrath et al.
...
> Compiled by GNU CC version 4.8.3.
> Compiled on a Linux 3.14.17 system on 2014-08-15.
aufs has the following structure:
root:/data/build/tmp/aufs# ls -1 ../aufs/
aufs-util
aufs3-standalone
scripts:
scripts/prepare
...
build )
...
if [ "$CONFIG_ETCFS" = "AUFS" ]; then
echo "Patching AUFS"
if [ ! -f $KERNELDIR/.done_aufs_patch ]; then
AUFSDIR=$(find_src_dir aufs)
patch -d $KERNELDIR -p1 -i
${AUFSDIR}/aufs3-standalone/aufs3-kbuild.patch || exit 1
patch -d $KERNELDIR -p1 -i
${AUFSDIR}/aufs3-standalone/aufs3-base.patch || exit 1
patch -d $KERNELDIR -p1 -i
${AUFSDIR}/aufs3-standalone/aufs3-mmap.patch || exit 1
patch -d $KERNELDIR -p1 -i
${AUFSDIR}/aufs3-standalone/aufs3-standalone.patch || exit 1
rm -f ${AUFSDIR}/aufs3-standalone/include/linux/Kbuild
rm -f ${AUFSDIR}/aufs3-standalone/include/uapi/linux/Kbuild
cp -dpvR ${AUFSDIR}/aufs3-standalone/{fs,Documentation,include}
$KERNELDIR/ || exit 1
touch $KERNELDIR/.done_aufs_patch
fi
set_kernel_option CONFIG_AUFS_FS m
set_kernel_option CONFIG_AUFS_HINOTIFY n
set_kernel_option CONFIG_AUFS_HNOTIFY y
set_kernel_option CONFIG_AUFS_BRANCH_MAX_127 y
set_kernel_option CONFIG_AUFS_BRANCH_MAX_511 n
set_kernel_option CONFIG_AUFS_BRANCH_MAX_1023 n
set_kernel_option CONFIG_AUFS_BRANCH_MAX_32767 n
set_kernel_option CONFIG_AUFS_SBILIST y
set_kernel_option CONFIG_AUFS_EXPORT n
set_kernel_option CONFIG_AUFS_BR_RAMFS n
set_kernel_option CONFIG_AUFS_SHWH n
set_kernel_option CONFIG_AUFS_RDU n
set_kernel_option CONFIG_AUFS_PROC_MAP n
set_kernel_option CONFIG_AUFS_SP_IATTR n
set_kernel_option CONFIG_AUFS_SHWH n
set_kernel_option CONFIG_AUFS_BR_RAMFS n
set_kernel_option CONFIG_AUFS_DEBUG n
set_kernel_option CONFIG_AUFS_HFSNOTIFY y
fi
and scripts/aufs :
build )
if [ "$CONFIG_ETCFS" = "AUFS" ]; then
#fix me
replace_str $KERNELDIR/include/uapi/linux/aufs_type.h
"__user" " "
cd aufs-util || exit 1
CPPFLAGS="-I $KERNELDIR/usr/include
-I../aufs2-standalone/include" make KDIR=$KERNELDIR all || exit 1
fi
;;
install )
if [ "$CONFIG_ETCFS" = "AUFS" ]; then
cp -dpvR aufs-util/aufs.5 $CDDIR/usr/share/man/man5/ || exit 1
cd aufs-util || exit 1
mkdir -p $TMPDIR/{sbin,usr/bin} || exit 1
mkdir -p $TMPDIR/etc/default || exit 1
make KDIR=$KERNELDIR DESTDIR=$TMPDIR install || exit 1
cp -dpvR $TMPDIR/etc/* $ETCDIR/etc/ || exit 1
rm -rf $TMPDIR/etc || exit 1
cp -dpvR $TMPDIR/* $CDDIR/ || exit 1
rm -rf $TMPDIR || exit 1
fi
;;
Thanks,
Serge
On 12/03/2014 09:25 AM, Andrzej Odyniec wrote:
> Heiko,
>
> I started to try, although I had recently a lot of other activities.
> - We need to update aufs3, because the old is not compiling with 3.14 kernel
> - Keepalived, even this with git, do not want to compile with 3.14 so turned
> it off for now
> - Motion, including the one with svn, do not want to compile, so too turned it
> off for now too
> - Iptables must be raised to 1.4.21
> - Unfortunately, gcc 4.4.5 is not sufficient because it does not support
> plug-ins, so as for now I raised gcc to 4.5.1; Of course I had to pick up a
> gcc-hardened; I took hardened patches from lfs; maybe I should raise gcc higher?
> - Kernel needs now to build bc, so I installed 1.06
>
> In spite of this kernel build process stopped at aufs3; anything goes wrong
> and I have a little read about aufs; perhaps my manual controlled prepare for
> aufs3 did not properly.
>
> So kernel line upgrade is not so simple. But I do not resign
>
> Best regards
>
> Andrzej Odyniec
>
> ---
> Ta wiadomość została sprawdzona na obecność wirusów przez oprogramowanie antywirusowe Avast.
> http://www.avast.com
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Devil-linux-develop mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/devil-linux-develop
>
|