fix: install mstflint to config daemon image#133
Merged
almaslennikov merged 1 commit intoMellanox:masterfrom Jan 16, 2026
Merged
fix: install mstflint to config daemon image#133almaslennikov merged 1 commit intoMellanox:masterfrom
almaslennikov merged 1 commit intoMellanox:masterfrom
Conversation
it's required for mlxfwreset to work properly Signed-off-by: Alexander Maslennikov <amaslennikov@nvidia.com>
|
Thanks for your PR,
To skip the vendors CIs, Maintainers can use one of:
|
Greptile SummaryAdded
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Build as Build Stage
participant Dockerfile as Dockerfile (STIG/Nvidia)
participant APT as APT Package Manager
participant MFT as Mellanox Firmware Tools
participant Runtime as Runtime Container
Build->>Dockerfile: Build sriov-network-config-daemon binary
Dockerfile->>APT: Install hwdata, pciutils, curl, mstflint
APT-->>Dockerfile: Packages installed (mlxfwreset provided by mstflint)
Dockerfile->>MFT: Download and install MFT package
MFT-->>Dockerfile: Install MFT tools (mlxconfig, mlxfwreset from MFT)
Dockerfile->>Dockerfile: Remove /usr/bin/mstconfig
Dockerfile->>Dockerfile: Remove /usr/bin/mstfwreset
Note over Dockerfile: Remove mstflint versions to avoid conflicts
Dockerfile->>Dockerfile: ln -s $(which mlxconfig) /usr/bin/mstconfig
Dockerfile->>Dockerfile: ln -s $(which mlxfwreset) /usr/bin/mstfwreset
Note over Dockerfile: Symlinks point to MFT versions
Dockerfile->>Runtime: Copy binary and start container
Runtime->>Runtime: Execute mstfwreset for firmware reset operations
|
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.
it's required for mlxfwreset to work properly