SPECS (LINUX_2_6): kernel.spec - added nfsroot bcond

baggins baggins at pld-linux.org
Mon May 8 18:54:45 CEST 2006


Author: baggins                      Date: Mon May  8 16:54:45 2006 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- added nfsroot bcond

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1537 -> 1.441.2.1538) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1537 SPECS/kernel.spec:1.441.2.1538
--- SPECS/kernel.spec:1.441.2.1537	Mon May  8 10:11:21 2006
+++ SPECS/kernel.spec	Mon May  8 18:54:40 2006
@@ -14,10 +14,12 @@
 %bcond_with	verbose		# verbose build (V=1)
 %bcond_with	xen0		# added Xen0 support
 %bcond_with	xenU		# added XenU support
-%bcond_with	pae		# build PAE (HIGHMEM64G) support on uniprocessor
 %bcond_without	grsecurity	# don't build grsecurity at all
 %bcond_without	grsec_minimal	# build only minimal subset (proc,link,fifo,shm)
 
+%bcond_with	pae		# build PAE (HIGHMEM64G) support on uniprocessor
+%bcond_with	nfsroot		# build with root on NFS support
+
 %{?debug:%define with_verbose 1}
 
 %if %{without grsecurity}
@@ -889,6 +891,11 @@
 	# fbsplash
 	echo "CONFIG_FB_SPLASH=y" >> arch/%{_target_base_arch}/defconfig
 
+%if %{with nfsroot}
+	sed -i "s:CONFIG_NFS_FS=m:CONFIG_NFS_FS=y:" $1
+	echo "CONFIG_ROOT_NFS=y" >>$1
+%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}
@@ -1600,6 +1607,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1538  2006/05/08 16:54:40  baggins
+- added nfsroot bcond
+
 Revision 1.441.2.1537  2006/05/08 08:11:21  baggins
 - disabled suspend2 on ppc, looks b0rken on this arch
 
================================================================

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



More information about the pld-cvs-commit mailing list