Skip to content

Conversation

@anbe42
Copy link
Collaborator

@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
Member

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

@scaronni scaronni merged commit b2526db into dkms-project: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