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

SWUTILS-944: Detect if onload is installed via RPM or deb #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dchadwic-xilinx
Copy link
Collaborator

Example output with EOL deb
image
Example output with Onload RPM:
image
Note that individual entries for 'onload' & 'enterpriseonload' are required.

@ibeecraft-amd
Copy link
Contributor

ibeecraft-amd commented Nov 19, 2024

Now that tcpdirect (Onload-9.0.0 onwards) is provided via source rpm/deb we should include that as a prefix as well.

@dchadwic-xilinx
Copy link
Collaborator Author

Agreed. Good call

@pcolledg-amd
Copy link
Contributor

Querying the common aliases exposed via RPM Provides: may be lower maintenance, eg.

$ rpm -q --whatprovides openonload-kmod openonload
onload-kmod-5.14.0-427.13.1.el9_4-8.1_preuax-1.el9.x86_64
onload-8.1_preuax-1.el9.x86_64

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