I believe a DKMS package can be set up for different module sources depending on the kernel version it is being built against (using patches). Does this help you?
** Description changed: - Package ist really outdated for kernel 3.5.0 (lts backport to precise) Modules not build: vmxnet vmhgfs vmblock See build log. + + Incomplete workaround: + + This bug affects those on a hardware enablement stack only, which is the + default option on the 12.04.2 images. If do not need the hardware + enablement stack, you may downgrade to the 3.2 kernel supplied with + 12.04 and 12.04.1, and then the package should build successfully. + + See https://wiki.ubuntu.com/Kernel/LTSEnablementStack of details of the + hardware enablement stacks. ProblemType: Package DistroRelease: Ubuntu 12.04 Package: open-vm-dkms 2011.12.20-562307-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-33.52-generic 3.2.31 Uname: Linux 3.2.0-33-generic x86_64 ApportVersion: 2.0.1-0ubuntu15 Architecture: amd64 DKMSKernelVersion: 3.5.0-18-generic Date: Tue Nov 27 18:53:46 2012 InstallationMedia: Kubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.2) MarkForUpload: True PackageArchitecture: all PackageVersion: 2011.12.20-562307-0ubuntu1 SourcePackage: open-vm-tools Title: open-vm-dkms 2011.12.20-562307-0ubuntu1: open-vm-tools kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-vm-tools in Ubuntu. https://bugs.launchpad.net/bugs/1083719 Title: open-vm-dkms 2011.12.20-562307-0ubuntu1: open-vm-tools kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1083719/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs