SPECS (LINUX_2_6_16): kernel.spec - add ext2compiled bcond

glen glen at pld-linux.org
Thu Dec 7 18:34:51 CET 2006


Author: glen                         Date: Thu Dec  7 17:34:51 2006 GMT
Module: SPECS                         Tag: LINUX_2_6_16
---- Log message:
- add ext2compiled bcond

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1558.2.52 -> 1.441.2.1558.2.53) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1558.2.52 SPECS/kernel.spec:1.441.2.1558.2.53
--- SPECS/kernel.spec:1.441.2.1558.2.52	Thu Dec  7 09:24:31 2006
+++ SPECS/kernel.spec	Thu Dec  7 18:34:45 2006
@@ -27,6 +27,7 @@
 %bcond_with	pae		# build PAE (HIGHMEM64G) support on uniprocessor
 %bcond_with	nfsroot		# build with root on NFS support
 %bcond_with	reiserfs4	# build with ReuserFS 4 support
+%bcond_with	ext2compiled		# compile ext2 into kernel to be able to boot from ext2 rootfs
 
 %{?debug:%define with_verbose 1}
 
@@ -139,7 +140,7 @@
 Summary(pl):	Jądro Linuksa
 Name:		kernel%{_subname}
 Version:	%{_basever}%{_postver}
-Release:	%{_rel}
+Release:	%{_rel}%{?with_ext2compiled:ext2}
 Epoch:		3
 License:	GPL v2
 Group:		Base/Kernel
@@ -1000,6 +1001,10 @@
 	echo "CONFIG_ROOT_NFS=y" >> arch/%{_target_base_arch}/defconfig
 %endif
 
+%if %{with ext2compiled}
+	sed -i 's,CONFIG_EXT2_FS=m,CONFIG_EXT2_FS=y,' arch/%{_target_base_arch}/defconfig
+%endif
+
 %{?debug:sed -i "s:# CONFIG_DEBUG_SLAB is not set:CONFIG_DEBUG_SLAB=y:" arch/%{_target_base_arch}/defconfig}
 %{?debug:sed -i "s:# CONFIG_DEBUG_PREEMPT is not set:CONFIG_DEBUG_PREEMPT=y:" arch/%{_target_base_arch}/defconfig}
 %{?debug:sed -i "s:# CONFIG_RT_DEADLOCK_DETECT is not set:CONFIG_RT_DEADLOCK_DETECT=y:" arch/%{_target_base_arch}/defconfig}
@@ -1706,6 +1711,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1558.2.53  2006/12/07 17:34:45  glen
+- add ext2compiled bcond
+
 Revision 1.441.2.1558.2.52  2006/12/07 08:24:31  adamg
 - updated to 2.6.16.35 (resolves CVE-2006-5751)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1558.2.52&r2=1.441.2.1558.2.53&f=u



More information about the pld-cvs-commit mailing list