Add spl-dkms dependency to zfs-dkms
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 19 Mar 2013 22:55:44 +0000 (15:55 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 19 Mar 2013 23:17:04 +0000 (16:17 -0700)
commitc0c3d83ccb3ff89c6183a3f160c05adad5805148
tree0821318985cd43748a2464007cbfcd096e52d7c6
parentac826e16682114ee7a41b7a4ca3d8fdde59d29dc
Add spl-dkms dependency to zfs-dkms

Adding the 'spl-dkms = VERSION' dependency to the zfs-dkms
package ensures the spl will be installed before zfs.  This
cleanly handles the initial 'yum localinstall' case.

However, this does not address the dkms rebuilds caused by
a new kernel being installed.  For that we still rely on the
clunky  --with-spl-timeout=<timeout> configure option which
allows the zfs compilation to be briefly delayed while the
spl components are built.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
rpm/generic/zfs-dkms.spec.in