zfsonlinux/spl — pull request #85 by fajarnugraha (2012-02-22 05:42:03+00:00)
Title: Initial dkms support for SPL

This pull request is for intial dkms support in spl, based on Darik's ppa, tested on RHEL6.

To test this:

- pull latest source with dkms support from git
- create symlink to source in /usr/src/spl-0.6.0-rc6
- dkms -m spl -v 0.6.0-rc6 add
- dkms -m spl -v 0.6.0-rc6 build
- dkms -m spl -v 0.6.0-rc6 install

What's currently misssing:

- Automatic versioning in dkms.conf. It's currently hardcoded to 0.6.0-rc6. It should use META, which means configure needs to be modified to handle dkms.conf as well.
- RPM support. Ideally "make rpm" should also create spl-dkms rpm in addition to the currently-created spl-modules, and user can choose which one they want to install.

Modifications to zfs tree will be similar to these, so I'd rather get the necessary changes for spl finalized first before creating a pull request for zfs

@Rudd-O, @dajhorn, any comments?