HomeFreeBSD

RPM: Remove old versions of DKMS on upgrade

Description

RPM: Remove old versions of DKMS on upgrade

Due to a mismatch between the text and a regex looking for that text,
the %preuninstall script would never run the dkms remove command
necessary to avoid corrupting the DKMS data configuration. Increase
regex specificity to avoid this issue.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Lindee <chris.lindee+github@gmail.com>
Closes: #9891
Closes #10327

Details

Provenance
ColMelvin <chris.lindee+github@gmail.com>Authored on May 15 2020, 3:51 AM
GitHub <noreply@github.com>Committed on May 15 2020, 3:51 AM
Parents
rG1b9cd1a9d9eb: Fix error handling in receive_writer_thread()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG4d6043f2b74d: RPM: Remove old versions of DKMS on upgrade (authored by ColMelvin <chris.lindee+github@gmail.com>).May 15 2020, 3:51 AM