From f019c527d1513dfac0b07a772c15dda9405294ef Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 15 Feb 2013 11:02:30 +0400 Subject: [PATCH] aufs3 patches --- sbin/kernel-rebuild.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sbin/kernel-rebuild.sh b/sbin/kernel-rebuild.sh index 2d811a4..47ad1ee 100755 --- a/sbin/kernel-rebuild.sh +++ b/sbin/kernel-rebuild.sh @@ -60,6 +60,14 @@ else [ "$?" != "0" ] && echo "======= make menuconfig failed ;-( =======" && exit -1 fi +# aufs3 patches +if [[ `qlist -IC sys-fs/aufs3 | wc -l` != 0 ]]; then + make modules_prepare + [ 0 -ne $? ] && echo "make modules_prepare failed ;-(" && exit -1 + emerge -1 sys-fs/aufs3 + [ 0 -ne $? ] && echo "emerge -1 sys-fs/aufs3 failed ;-(" && exit -1 +fi + # disable distcc for -march=native -mtune=native grep 'CONFIG_X86_MARCH_NATIVE=y' .config &>/dev/null