Skip to content

Conversation

@anbe42
Copy link
Collaborator

@anbe42 anbe42 commented Apr 1, 2025

anbe42 added 30 commits March 28, 2025 10:11
this has been a no-op since building is performed in a clean build tree

Fixes: dkms-project#495
do not emit the signing prologue if building will be skipped
This is only needed for getting $module and $module_version from
dkms.conf while adding the module to $dkms_tree.
For subsequent operations these variables are already known from
$dkms_tree and having an override config interferes with e.g. querying
the state of BUILD_DEPENDS.
error out on missing modules before the copying loop starts
s.t. we don't end up with a partially populated $base_dir in case of
errors which fails to satisfy is_module_built() and cannot be cleaned up
by unbuild_module()
@anbe42 anbe42 requested a review from scaronni April 1, 2025 08:21
@scaronni
Copy link
Member

scaronni commented Apr 1, 2025

Awesome, thanks. Will make some tests on RHEL.

@scaronni scaronni self-assigned this Apr 1, 2025
@scaronni
Copy link
Member

scaronni commented Apr 1, 2025

Please reference the other tickets you are touching with this pull request.

@scaronni
Copy link
Member

scaronni commented Apr 3, 2025

Awesome, thank you!

@scaronni scaronni merged commit b39d806 into dkms-project:main Apr 3, 2025
26 checks passed
@anbe42 anbe42 deleted the mixed-fixes branch April 4, 2025 07:58
@vicamo
Copy link
Contributor

vicamo commented Aug 25, 2025

@anbe42 may I know the reason why duplicated modules are marked as errors? This breaks Intel ipu6-drivers.

@scaronni
Copy link
Member

@vicamo what do you mean marked as errors? I've been packaging ipu6-drivers for myself but never hit it: https://github.com/negativo17/dkms-ipu6/blob/master/dkms-ipu6.spec

@vicamo
Copy link
Contributor

vicamo commented Aug 25, 2025

@vicamo what do you mean marked as errors? I've been packaging ipu6-drivers for myself but never hit it: https://github.com/negativo17/dkms-ipu6/blob/master/dkms-ipu6.spec

Oh, my. I thought this was to disallow duplicated modules to the in-tree ones, but it's really not. Oh, my. I need a cave to hide.

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