[fedora-virt-maint] rpms/xen/devel xen.modules, 1.1, 1.2 xen.spec, 1.232, 1.233

Gerd Hoffmann kraxel at fedoraproject.org
Fri Mar 6 09:22:57 UTC 2009


Author: kraxel

Update of /cvs/pkgs/rpms/xen/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2845

Modified Files:
	xen.modules xen.spec 
Log Message:
misc fixes


Index: xen.modules
===================================================================
RCS file: /cvs/pkgs/rpms/xen/devel/xen.modules,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xen.modules	12 Jun 2007 13:50:13 -0000	1.1
+++ xen.modules	6 Mar 2009 09:22:26 -0000	1.2
@@ -1,9 +1,11 @@
 #!/bin/sh
 
-test -f /proc/xen/capabilities || exit 0
-grep -q "control_d" /proc/xen/capabilities || exit 0
+test -d /proc/xen				|| exit 0
+test -f /proc/xen/capabilities			|| mount -t xenfs xen /proc/xen
+test -f /proc/xen/capabilities			|| exit 0
+grep -q "control_d" /proc/xen/capabilities	|| exit 0
 
-for m in blkbk netbk blktap xenblktap
+for module in evtchn blkbk netbk
 do
-  modprobe $m >/dev/null 2>&1
+	modprobe $m >/dev/null 2>&1
 done


Index: xen.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xen/devel/xen.spec,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -r1.232 -r1.233
--- xen.spec	2 Mar 2009 10:51:58 -0000	1.232
+++ xen.spec	6 Mar 2009 09:22:27 -0000	1.233
@@ -2,7 +2,7 @@
 
 # Always set these 3 tags
 %define base_version 3.3.1
-%define base_release 7
+%define base_release 8
 
 # Hypervisor ABI
 %define hv_abi  3.3
@@ -113,7 +113,7 @@
 # installs xen.
 Requires: kpartx
 Prereq: chkconfig
-ExclusiveArch: i386 i586 i686 x86_64 ia64
+ExclusiveArch: %{ix86} x86_64 ia64
 
 %description
 This package contains the XenD daemon and xm command line
@@ -195,6 +195,7 @@
 cp -v %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} stubdom
 
 %build
+export XEN_VENDORVERSION="-%{release_tag}"
 %if %{hv_build}
 CFLAGS="$RPM_OPT_FLAGS" %{__make} XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=%{buildroot} tools docs xen
 %{__make} stubdom
@@ -499,6 +500,11 @@
 %{_libdir}/*.a
 
 %changelog
+* Fri Mar 6 2009 Gerd Hoffmann <kraxel at redhat.com> - 3.3.1-8
+- fix xen.modules init script for pv_ops kernel.
+- stick rpm release tag into XEN_VENDORVERSION.
+- use %{ix86} macro in ExclusiveArch.
+
 * Mon Mar 2 2009 Gerd Hoffmann <kraxel at redhat.com> - 3.3.1-7
 - fix xenstored init script for pv_ops kernel.
 




More information about the Fedora-virt-maint mailing list