http://bugzilla.novell.com/show_bug.cgi?id=605085 http://bugzilla.novell.com/show_bug.cgi?id=605085#c2 --- Comment #2 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2010-05-31 08:42:22 UTC --- I got this diff in my local branch of open-vm-tools, which makes it very easy to enable / disable modules based on the openSUSE release (assuming that newer releases will always require less than older releases): Index: open-vm-tools.changes =================================================================== --- open-vm-tools.changes (revision 77cd29d3aceb5fac85e76ceae29edd44) +++ open-vm-tools.changes (working copy) @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 31 08:37:32 UTC 2010 - dimstar@opensuse.org + +- Better logic to easily disable modules that got inlcluded in the + Linux Kernel. + ------------------------------------------------------------------- Thu Apr 22 11:25:39 CEST 2010 - dimstar@opensuse.org Index: open-vm-tools.spec =================================================================== --- open-vm-tools.spec (revision 77cd29d3aceb5fac85e76ceae29edd44) +++ open-vm-tools.spec (working copy) @@ -20,7 +20,16 @@ # exclude AMD PCnet32 LANCE pci.id from Supplements list [bnc#397554] %define __find_supplements sh -c '/usr/lib/rpm/find-supplements %{name} | grep -v pci:v00001022d00002000' -%define build_vmxnet3 0%{suse_version} <= 1120 + +# Modules that have to be build up to version 11.3 +%if 0%{suse_version} <= 1130 +%define mod1130 vmblock vmhgfs vmsync vmxnet vmci vsock +%endif +# Modules that are needed up to openSUSE 11.2 (kernel in 11.3 includes them) +%if 0%{suse_version} <= 1120 +%define mod1120 pvscsi vmemctl vmxnet3 +%endif + Name: open-vm-tools Group: System/Emulators/PC @@ -68,11 +77,7 @@ Requires: vmware-guest-kmp Supplements: modalias(pci:v000015ADd*sv*sd*bc*sc*i*) -%if %build_vmxnet3 -%define vm_modules vmblock vmhgfs vmmemctl vmsync vmxnet vmci vsock pvscsi vmxnet3 -%else -%define vm_modules vmblock vmhgfs vmmemctl vmsync vmxnet vmci vsock pvscsi -%endif +%define vm_modules %{mod1130} %{mod1120} %suse_kernel_module_package -n vmware-guest -p %{SOURCE98} xen um @jeff: Of course this is only true if the modules are really enabled in the kernel, in which case I would forward this diff and the bug would be solved :) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.