-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add pciutils to packages in release #142
Conversation
packages/pciutils/Cargo.toml
Outdated
path = "../packages.rs" | ||
|
||
[package.metadata.build-package] | ||
releases-url = "https://mj.ucw.cz/download/linux/pci/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: pciutils is also available at https://www.kernel.org/pub/software/utils/pciutils/. Should we use that for consistency? We have a good number of packages that consume from kernel.org.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I had switched in the spec file and not here.
6257a42
to
21fedf6
Compare
packages/pciutils/pciutils.spec
Outdated
%global debug_package %{nil} | ||
%global __strip %{_bindir}/true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't need these.
%global debug_package %{nil} | |
%global __strip %{_bindir}/true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice call! I added these when trying things but they are not needed!
This adds the pciutils package to the release package dependencies so that lspci is available for debugging devices on Bottlerocket images. Signed-off-by: Matthew Yeazel <yeazelm@amazon.com>
^ removed extra lines per comments. |
Description of changes:
This adds the
pciutils
package to the release package dependencies so that lspci is available for debugging devices on Bottlerocket images.Testing done:
Booted an image and checked
lspci
works on x86_64 and aarch64aarch t4g.large
NVIDIA x86_64
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.