SPECS (LINUX_2_6): kernel.spec - xen is only UP - disable building...

speedy speedy at pld-linux.org
Sun Jun 12 19:42:32 CEST 2005


Author: speedy                       Date: Sun Jun 12 17:42:32 2005 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- xen is only UP
- disable building smp config (when building --with xen)

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1110 -> 1.441.2.1111) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1110 SPECS/kernel.spec:1.441.2.1111
--- SPECS/kernel.spec:1.441.2.1110	Sun Jun 12 17:55:51 2005
+++ SPECS/kernel.spec	Sun Jun 12 19:42:26 2005
@@ -66,8 +66,8 @@
 %undefine	with_up
 %endif
 
-%if %{with xenU}
-# guest is only UP
+%if %{with xen}
+# xen (for now) is only UP
 %undefine	with_smp
 %endif
 
@@ -263,7 +263,7 @@
 Patch201:	linux-2.6-omosix.patch
 # vserver-2.0-pre4
 Patch202:	linux-2.6-vs2.patch
-# xen 2.0.6
+# xen 2.0.6 http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html
 Patch203:	linux-xen-2.0.6.patch
 
 Patch400:	kernel-gcc4.patch
@@ -938,9 +938,11 @@
 # SMP KERNEL
 KERNEL_INSTALL_DIR="$KERNEL_BUILD_DIR/build-done/kernel-SMP"
 rm -rf $KERNEL_INSTALL_DIR
+%if !%{with xen}
 BuildConfig smp
 %{?with_smp:BuildKernel smp}
 %{?with_smp:PreInstallKernel smp}
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -1298,7 +1300,9 @@
 %defattr(644,root,root,755)
 %dir %{_prefix}/src/linux-%{version}
 %{_prefix}/src/linux-%{version}/include
+%if !%{with xen}
 %{_prefix}/src/linux-%{version}/config-smp
+%endif
 %{_prefix}/src/linux-%{version}/config-up
 
 %files module-build
@@ -1368,6 +1372,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1111  2005/06/12 17:42:26  speedy
+- xen is only UP
+- disable building smp config (when building --with xen)
+
 Revision 1.441.2.1110  2005/06/12 15:55:51  pluto
 - unix abi patch rebconded (like in the paszczus' commit).
 
================================================================

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




More information about the pld-cvs-commit mailing list