]> git.proxmox.com Git - mirror_zfs.git/commit
Fix zfs-dkms uninstall/update
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 1 Oct 2015 00:36:18 +0000 (20:36 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 2 Oct 2015 18:19:25 +0000 (11:19 -0700)
commit3ef005c674e3207e8c6fba5d65a76468f97084ae
tree18149a2cd426c3b80c431735430c6ce7c01ed1f9
parent919efe93cb1263a3cfa1b8edf4b0a636a9e579cd
Fix zfs-dkms uninstall/update

Modern versions of dkms cleanup the build directory after installing.
This resulted in 'dkms uninstall' never running because the check
added by commit 866c162 which verifies the existance of the
zfs.release build product would never be true.

This patch resolves the issue by updating the conditional to check
in the explicitly installed zfs_config.h file for the version.

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