[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kernel/FC-5 kernel-2.6.spec,1.2284,1.2285



Author: davej

Update of /cvs/dist/rpms/kernel/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv26218

Modified Files:
	kernel-2.6.spec 
Log Message:
undo FC6 xen change


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-5/kernel-2.6.spec,v
retrieving revision 1.2284
retrieving revision 1.2285
diff -u -r1.2284 -r1.2285
--- kernel-2.6.spec	7 Feb 2007 00:03:13 -0000	1.2284
+++ kernel-2.6.spec	7 Feb 2007 00:22:06 -0000	1.2285
@@ -1343,17 +1343,16 @@
 %if %{includexen}
 %if %{buildxen}
   cd xen
-  mkdir -p $RPM_BUILD_ROOT/%{image_install_path} $RPM_BUILD_ROOT/boot
-  make %{?_smp_mflags} %{xen_flags}
-  install -m 644 xen.gz $RPM_BUILD_ROOT/%{image_install_path}/xen.gz-%{KVERREL}
+  mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
+# FixMe: Juan Quintela (when no PAE is not needed anymore)
+  make debug=y verbose=y crash_debug=y pae=y
+  install -m 644 xen.gz $RPM_BUILD_ROOT/boot/xen.gz-%{KVERREL}-PAE
+  install -m 755 xen-syms $RPM_BUILD_ROOT/boot/xen-syms-%{KVERREL}-PAE
+  make clean
+  make debug=y verbose=y crash_debug=y
+  install -m 644 xen.gz $RPM_BUILD_ROOT/boot/xen.gz-%{KVERREL}
   install -m 755 xen-syms $RPM_BUILD_ROOT/boot/xen-syms-%{KVERREL}
   cd ..
-  # need to let BuildKernel() create directory first.  The problem here is BuildKernel
-  # doesn't mkdir a new directory, but instead 'mv /lib/modules/<kern>/build to <new dir>
-  # if the <new dir> were to exist already, then the contents of 'build' are placed in a sub-dir
-  # named 'build' under <new dir>.  ugh.  So save xen directory temporarily instead
-  mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
-  mv xen $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}-xen-%{_target_cpu}-HV-temp
 %endif
 %endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]