Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always remove during spl-dkms uninstall/update
Always do a dkms remove during %preun so that no cruft is left behind after upgrade or uninstall. Closes openzfs#476 Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
- Loading branch information
a86b56d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@utopiabound thanks for the patch. This may take a little more thought, because this effectively reverts commit 4cdcdbf. This change was originally put in place to handle the case of the fast moving test repositories where only the release is updated. It would be nice if we could cleanly handle both cases somehow.
a86b56d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What appears to have happened in the dkms location for that spl/zfs.release file changed so this check is now always failing and nothing ever gets removed. This clearly wasn't as robust solution as I hoped. However, since we're now always bumping the version number and not just the release you fix should address the issue.