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

move kernel_prerm.d logic into dkms #469

Merged
merged 12 commits into from
Dec 19, 2024
Merged

Conversation

anbe42
Copy link
Contributor

@anbe42 anbe42 commented Dec 15, 2024

this adds two new actions kernel_postinst (a wrapper for autoinstall) and kernel_prerm that are intended to be called from kernel_*.d/dkms to move the prerm logic into dkms as well

I haven't done proper testing of the integration bits (the kernel_*.d changes) yet in my Debian dkms torture chroots, yet, and I won't be able to do them for the redhat side

naming etc. is open for discussion

use a flag file for tracking the pending state since unbuild_module gets
run in a subshell
this is already performed by dkms_autoinstaller
logic that involves enumerating dkms modules or kernel versions
should not be duplicated outside of dkms
autoinstall still produces a lot of output per module, but getting the
current module name was only possible from messages appearing after
slow tasks (e.g. build) have finished, and it was still mostly guessing
@scaronni scaronni self-assigned this Dec 16, 2024
@scaronni
Copy link
Collaborator

Thanks! Will perform all the necessary tests on Red Hat / SUSE systems this week.

@scaronni scaronni merged commit b2526db into dell:master Dec 19, 2024
25 checks passed
@anbe42 anbe42 deleted the kernel-prerm branch December 22, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants