SPECS: aufs.spec - set CONFIG_AUFS_INO_T_64 for 64bit archs; cleanup

zbyniu zbyniu at pld-linux.org
Tue Nov 4 22:29:51 CET 2008


Author: zbyniu                       Date: Tue Nov  4 21:29:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- set CONFIG_AUFS_INO_T_64 for 64bit archs; cleanup

---- Files affected:
SPECS:
   aufs.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/aufs.spec
diff -u SPECS/aufs.spec:1.39 SPECS/aufs.spec:1.40
--- SPECS/aufs.spec:1.39	Thu Oct 30 23:33:47 2008
+++ SPECS/aufs.spec	Tue Nov  4 22:29:45 2008
@@ -89,14 +89,6 @@
 %patch2 -p1
 #%patch3 -p1
 
-# we should make it better
-sed '
-	s/$(CONFIG_AUFS)/m/; 
-	%{!?debug:s/$(CONFIG_AUFS_DEBUG.*)/n/}; 
-	s/$(CONFIG_AUFS_HINOTIFY)/n/;
-	s/$(CONFIG_AUFS_EXPORT)/y/;
-	s/$(CONFIG_AUFS_SYSAUFS)/n/
-' -i fs/aufs/Makefile
 cp -a include/linux fs/aufs25
 
 %build
@@ -104,6 +96,10 @@
 if [ -f %{_kernelsrcdir}/include/linux/vs_base.h ]; then
 	isvserver="-DVSERVER"
 fi
+%ifarch %{x8664} ia64 ppc64 sparc64
+	ino_t64="-DCONFIG_AUFS_INO_T_64"
+%endif
+
 export CONFIG_AUFS=m
 export CONFIG_AUFS_BR_XFS=y
 %build_kernel_modules -C fs/aufs25 -m aufs \
@@ -115,7 +111,8 @@
 		-UCONFIG_AUFS_KSIZE_PATCH \
 		-UCONFIG_AUFS_DLGT \
 		%{?debug:-DCONFIG_AUFS_DEBUG} \
-		$isvserver"
+		$isvserver \
+		$ino_t64"
 %endif
 
 %if %{with userspace}
@@ -167,6 +164,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2008/11/04 21:29:45  zbyniu
+- set CONFIG_AUFS_INO_T_64 for 64bit archs; cleanup
+
 Revision 1.39  2008/10/30 22:33:47  qwiat
 - 20081030
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/aufs.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list