nvidia: Improve CDI and .deb package processing#5731
Open
rene wants to merge 2 commits intolf-edge:masterfrom
Open
nvidia: Improve CDI and .deb package processing#5731rene wants to merge 2 commits intolf-edge:masterfrom
rene wants to merge 2 commits intolf-edge:masterfrom
Conversation
In the current versions of CDI yaml files we have entries like: - containterPath: /usr/bin/... hostPath: /usr/bin/... However, on newer versions of nvidia-ctk the yaml file can be generated as the following: - hostPath: /usr/bin/... containerPath: /usr/bin/... The process-cdi.sh was broken for the last. This commit fixes the parser and allows both versions. Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
The process-cdi.sh script processes .deb files found in Linux_for_Tegra/nv_tegra/l4t_deb_packages from Jetpack. However, Jetpack 7.1 might contain another directories inside, so change ls to find in order to list all .deb files within l45_deb_packages directory. Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5731 +/- ##
===========================================
+ Coverage 19.52% 29.87% +10.34%
===========================================
Files 19 18 -1
Lines 3021 2417 -604
===========================================
+ Hits 590 722 +132
+ Misses 2310 1549 -761
- Partials 121 146 +25 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR it's a preparation for NVIDIA Jetpack 7.1 support, it provides an small fix and improvements on the CDI and .deb package processing during the nvidia package build. These changes has no impact for nvidia-jp5/nvidia-jp6, but are required for Jetpack 7.1.
How to test and validate this PR
No extra validation is required. Should be covered by the current tests.
Changelog notes
None.
PR Backports
No backport required.
Checklist
check them.