Repository navigation
[Nexthop] [distro] Alias local_rpm_repo to kernel - #1290
Closed
travisb-nexthop wants to merge 1 commit into
Closed
travisb-nexthop wants to merge 1 commit into
travisb-nexthop wants to merge 1 commit into
Conversation
Signed-off-by: Travis Brown <[email protected]>
Scott8440
approved these changes
Jun 22, 2026
Contributor
|
@Scott8440 has imported this pull request. If you are a Meta employee, you can view this in D109366758. |
Contributor
|
@Scott8440 merged this pull request in 30b3eb9. |
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.
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit runSummary
Previously Platform Manager would attempt to load the BSPs from an explicitly named 'kernel' RPM repo, then fallback to using all repos. This was changed in 4aa0968 to only ever query the 'kernel' repo.
Distro images don't have a 'kernel' repo so loading the BSP RPM(s) would fail like so:
Rather than rename the local_rpm_repo to the incorrect name 'kernel' or pollute the production Platform Manager code with OSS-specific code, alias the local_rpm_repo in Distro Image to 'kernel' to satisfy this need.
Test Plan
Modified a Distro image and loaded on a dut, confirmed that platform manager successfully: