Skip to content

nvidia: Improve CDI and .deb package processing#5731

Open
rene wants to merge 2 commits intolf-edge:masterfrom
rene:jp7-prep1
Open

nvidia: Improve CDI and .deb package processing#5731
rene wants to merge 2 commits intolf-edge:masterfrom
rene:jp7-prep1

Conversation

@rene
Copy link
Copy Markdown
Contributor

@rene rene commented Apr 1, 2026

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

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR
  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

rene added 2 commits April 1, 2026 17:24
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>
@rene rene requested a review from rucoder April 1, 2026 15:29
@rene rene requested a review from eriknordmark as a code owner April 1, 2026 15:29
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.87%. Comparing base (2281599) to head (f494719).
⚠️ Report is 379 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant