Skip to content

DKMS module installation#514

Merged
elvin03 merged 6 commits intomainfrom
dkms-2
Apr 15, 2026
Merged

DKMS module installation#514
elvin03 merged 6 commits intomainfrom
dkms-2

Conversation

@elvin03
Copy link
Copy Markdown
Contributor

@elvin03 elvin03 commented Apr 14, 2026

Merge Checklist

All boxes should be checked before merging the PR

  • The changes in the PR have been built and tested
  • Documentation has been updated to reflect the changes (or no doc update needed)
  • Ready to merge

Description

New function added - prioritizes exact name matches over "provides" matches to prevent cross-package-type comparisons

Any Newly Introduced Dependencies

N/A

How Has This Been Tested?

image

elvin03 added 3 commits April 13, 2026 21:47
…atches to prevent cross-package-type comparisons

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
@elvin03 elvin03 requested a review from a team as a code owner April 14, 2026 08:59
Copilot AI review requested due to automatic review settings April 14, 2026 08:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds target-aware candidate prioritization to prefer exact package-name matches over Provides matches during Debian package resolution, aimed at avoiding cross-package-type comparisons (e.g., kernel vs dkms).

Changes:

  • Introduced filterCandidatesByPriorityWithTarget to prefer exact name matches before comparing repository priority/version.
  • Updated ResolveTopPackageConflicts and findAllCandidates to use the new target-aware filtering.
  • Fixed indentation in the Ubuntu 24 minimal raw image template package list.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 4 comments.

File Description
internal/ospackage/debutils/resolver.go Adds target-aware candidate filtering/sorting and expands debug logging during resolution.
image-templates/ubuntu24-x86_64-minimal-raw.yml YAML indentation adjustment for the packages list entry.

Comment thread internal/ospackage/debutils/resolver.go
Comment thread internal/ospackage/debutils/resolver.go
Comment thread internal/ospackage/debutils/resolver.go
Comment thread internal/ospackage/debutils/resolver.go
Comment thread internal/ospackage/debutils/resolver.go
Copy link
Copy Markdown
Contributor

@arodage arodage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elvin03 elvin03 merged commit 455dc8e into main Apr 15, 2026
35 checks passed
@elvin03 elvin03 deleted the dkms-2 branch April 15, 2026 03:42
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