diff options
author | AllKind <[email protected]> | 2023-11-07 20:27:29 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-07 11:27:29 -0800 |
commit | 9ce567c6fffd39e4bdf0cfe93f04a008de876b48 (patch) | |
tree | f58cef1859f0b786035d388cf0f56cb093cc332e /module/os/freebsd/zfs/zvol_os.c | |
parent | f4cd1bac723633a22adafc87c2a9f874fbcbc9d6 (diff) |
Fix dkms installation of deb packages created with Alien.
Alien does not honour the %posttrans hook.
So move the dkms uninstall/install scripts to the
%pre/%post hooks in case of package install/upgrade.
In case of package removal, handle that in %preun.
Add removal of all old dkms modules.
Add checking for broken 'dkms status'. Handle that as
good as possible and warn the user about it.
Also add more verbose messages about what we are doing.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Mart Frauenlob <[email protected]>
Closes #15415
Diffstat (limited to 'module/os/freebsd/zfs/zvol_os.c')
0 files changed, 0 insertions, 0 deletions