Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix add_module rpm_safe_upgrade handling #44

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

scaronni
Copy link
Collaborator

This change makes add_module() write out the rpm_safe_upgrade lock
before checking to see if this module-version has already been added
when --rpm_safe_upgrade is specified.

Before, if there was a module-version match, no rpm_safe_upgrade lock
file would get written, and the old package's %preun script's dkms remove call would proceed when it should have stopped.

This change makes add_module() write out the rpm_safe_upgrade lock
_before_ checking to see if this module-version has already been added
when --rpm_safe_upgrade is specified.

Before, if there was a module-version match, no rpm_safe_upgrade lock
file would get written, and the old package's %preun script's `dkms
remove` call would proceed when it should have stopped.
@scaronni
Copy link
Collaborator Author

Created PR for proper testing of this: #25

@scaronni
Copy link
Collaborator Author

Shall we merge this?

@superm1
Copy link
Contributor

superm1 commented Feb 14, 2020

Shall we merge this?

I think so.

@scaronni scaronni merged commit 5ca628c into dell:master Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants