Skip to content

nvidia: Improve CDI and .deb package processing#5731

Merged
eriknordmark merged 2 commits into
lf-edge:masterfrom
rene:jp7-prep1
Apr 13, 2026
Merged

nvidia: Improve CDI and .deb package processing#5731
eriknordmark merged 2 commits into
lf-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 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 (5e75e15).
⚠️ Report is 484 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.

@rene rene mentioned this pull request Apr 8, 2026
7 tasks
rene added 2 commits April 11, 2026 16: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>
Copy link
Copy Markdown
Contributor

@eriknordmark eriknordmark left a comment

Choose a reason for hiding this comment

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

LGTM

@eriknordmark
Copy link
Copy Markdown
Contributor

FWIW all 4 Eden smoke tests fail due to the known issue in testhwinventory.

@eriknordmark eriknordmark merged commit 6aa3bad into lf-edge:master Apr 13, 2026
45 of 50 checks passed
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.

2 participants