rpms/kernel/F-7 kernel-2.6.spec,1.3168,1.3169

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Fri May 18 16:16:20 UTC 2007


Author: jwilson

Update of /cvs/pkgs/rpms/kernel/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16629

Modified Files:
	kernel-2.6.spec 
Log Message:
Add --with xenonly build option for future use if/when kernel-xen gets spun off main kernel package again...


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-7/kernel-2.6.spec,v
retrieving revision 1.3168
retrieving revision 1.3169
diff -u -r1.3168 -r1.3169
--- kernel-2.6.spec	18 May 2007 00:37:42 -0000	1.3168
+++ kernel-2.6.spec	18 May 2007 16:16:11 -0000	1.3169
@@ -33,7 +33,9 @@
 %define with_baseonly %{?_with_baseonly: 1} %{?!_with_baseonly: 0}
 # Only build the smp kernel (--with smponly):
 %define with_smponly  %{?_with_smponly:  1} %{?!_with_smponly:  0}
-
+# Only build the xen kernel (--with xenonly):
+%define with_xenonly  %{?_with_xenonly:  1} %{?!_with_xenonly:  0}
+ 
 # Whether or not to gpg sign modules
 %define with_modsign 1
 
@@ -92,6 +94,15 @@
 %define with_debug 0
 %endif
 
+# if requested, only build xen kernel
+%if %{with_xenonly}
+%define with_up 0
+%define with_smp 0
+%define with_pae 0
+%define with_kdump 0
+%define with_debug 0
+%endif
+
 # don't build xen or kdump kernels for OLPC
 %if 0%{?olpc}
 %define with_xen 0




More information about the fedora-extras-commits mailing list