HomeFreeBSD

Fix dkms installation of deb packages created with Alien.

Description

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 <behlendorf1@llnl.gov>
Signed-off-by: Mart Frauenlob <AllKind@fastest.cc>
Closes #15415

Details

Provenance
AllKind <allkind@fastest.cc>Authored on Nov 7 2023, 7:27 PM
GitHub <noreply@github.com>Committed on Nov 7 2023, 7:27 PM
Parents
rGf4cd1bac7236: Make abd_raidz_gen_iterate() pass an initialized pointer to the callback
Branches
Unknown
Tags
Unknown