SPECS: VMware-player.spec - add vmmon modprobe conf

arekm arekm at pld-linux.org
Mon Oct 1 08:57:53 CEST 2007


Author: arekm                        Date: Mon Oct  1 06:57:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add vmmon modprobe conf

---- Files affected:
SPECS:
   VMware-player.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/VMware-player.spec
diff -u SPECS/VMware-player.spec:1.22 SPECS/VMware-player.spec:1.23
--- SPECS/VMware-player.spec:1.22	Mon Oct  1 00:36:55 2007
+++ SPECS/VMware-player.spec	Mon Oct  1 08:57:48 2007
@@ -50,8 +50,8 @@
 BuildRequires:	sed >= 4.0
 Requires:	libgnomecanvasmm
 Requires:	libview >= 0.5.5-2
-Requires:	openssl >= 0.9.7
 Requires:	openssl < 0.9.8
+Requires:	openssl >= 0.9.7
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -165,7 +165,7 @@
 chmod u+w ../lib/bin/vmware-vmx ../lib/bin-debug/vmware-vmx ../bin/vmnet-bridge
 
 # hack until new any-any-update version available
-sed -i -e 's/#define.*VMMON_VERSION_V6.*/#define VMMON_VERSION_V6        (167 << 16 | 0)/g' vmmon-only/include/iocontrols_compat.h
+sed -i -e 's/#define.*VMMON_VERSION_V6.*/#define VMMON_VERSION_V6		(167 << 16 | 0)/g' vmmon-only/include/iocontrols_compat.h
 
 %if %{with kernel}
 rm -rf built
@@ -217,7 +217,7 @@
 
 %if %{with userspace}
 install -d \
-	$RPM_BUILD_ROOT%{_sysconfdir}/vmware \
+	$RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,vmware} \
 	$RPM_BUILD_ROOT%{_sysconfdir}/vmware/vmnet8/{nat,dhcpd} \
 	$RPM_BUILD_ROOT%{_bindir} \
 	$RPM_BUILD_ROOT%{_libdir}/vmware/{bin,lib,share/pixmaps} \
@@ -230,6 +230,8 @@
 %endif
 
 %if %{with kernel}
+echo "options vmmon vmversion=16" > $RPM_BUILD_ROOT/etc/modprobe.d/%{name}-vmmon.conf
+
 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
 
 cd vmware-any-any-update%{_urel}/built
@@ -368,6 +370,7 @@
 %if %{with kernel}
 %files -n kernel%{_alt_kernel}-misc-vmmon
 %defattr(644,root,root,755)
+/etc/modprobe.d/%{name}-vmmon.conf
 /lib/modules/%{_kernel_ver}/misc/vmmon.ko*
 
 %files -n kernel%{_alt_kernel}-misc-vmnet
@@ -382,6 +385,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2007/10/01 06:57:48  arekm
+- add vmmon modprobe conf
+
 Revision 1.22  2007/09/30 22:36:55  arekm
 - hack until new any-any version arrives
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VMware-player.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list