-
Notifications
You must be signed in to change notification settings - Fork 235
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
Fix glibc conflicts in containers #1194
Merged
Merged
Conversation
This file contains 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
For constructing a tree of libraries/files from NVIDIA's prebuilt binary packages, for direct export to containers. This avoids the problem we have with userland binaries built from sources being incompatible with older libraries that reside in the container (primarily glibc). Signed-off-by: Matt Madison <matt@madison.systems>
to add a patch that supports the use of tree of files to be directly exported to containers, overriding any files that reside in the normal host rootfs. This allows us to export NVIDIA's prebuilt binary userland libraries to NVIDIA's containers, to ensure compatibility with the library versions (notably glibc's) that are inside the container. Signed-off-by: Matt Madison <matt@madison.systems>
* Use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages * Clean up sym vs. lib discrepancies - 'lib' entries must be for actual files, 'sym' entries must be actual symlinks * Fill in missing entries Signed-off-by: Matt Madison <matt@madison.systems>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 18, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages.
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 18, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages.
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 18, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages.
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 18, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages.
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 18, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages.
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 19, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages.
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 23, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 23, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 23, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 25, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 25, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 25, 2024
…es the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 25, 2024
The CONTAINER_CSV_LIB_PATH variable that enables the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
paroque28
added a commit
to paroque28/meta-tegra
that referenced
this pull request
Jul 25, 2024
The CONTAINER_CSV_LIB_PATH variable that enables the change of the library path. This is to match the changes in OE4T#1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
madisongh
pushed a commit
that referenced
this pull request
Jul 26, 2024
The CONTAINER_CSV_LIB_PATH variable that enables the change of the library path. This is to match the changes in #1194 and use the pass-through tree for libraries that need to be provided from the NVIDIA prebuilt packages. Signed-off-by: Pablo Rodriguez Quesada <pablo.aarch64@gmail.com>
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.
This patch series fixes issues with userland libraries that we normally build from sources, against a newer version of glibc, being exported into containers through the Jetson-specific passthrough mechanism. Such exports would result in mismatches with the glibc residing in the container, causing problems like gstreamer plugins failing to load.
The fix is to extend the container runtime's passthrough mechanism to look for exports in a separate subtree first, preferring exports from that tree over files that would normally be found in the normal place in the rootfs. The
tegra-container-passthrough
recipe is added to populate this tree with NVIDIA's prebuilt copies of libraries and plugins.The
l4t.csv
file is updated to refer to the files from their locations in the separate subtree (which uses the same Debian multiarch-style directory naming), and also has some missing entries restored. There are also some changes there to more accurately label symlinks vs. actual files, so the correct passthrough-mount method in the container runtime gets used.Fixes #857