Skip to content
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

Update paths to reflect new sonic-utilities install location, /usr/local/bin/ #2247

Merged
merged 2 commits into from
Sep 22, 2020
Merged

Update paths to reflect new sonic-utilities install location, /usr/local/bin/ #2247

merged 2 commits into from
Sep 22, 2020

Conversation

jleveque
Copy link
Contributor

As of sonic-net/sonic-buildimage#5409, sonic-utilities is now being installed as a Python wheel package. As such, the installation path for scripts/entrypoints has changed from /usr/bin/ to /usr/local/bin. This PR aligns sonic-mgmt code with those changes by updating all references to sonic-utilities scripts/entrypoints to either reference the new /usr/local/bin/ location or remove absolute path entirely where applicable.

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

To align with new installation location for sonic-utilities scripts/entrypoints

How did you do it?

Update all references to sonic-utilities scripts/entrypoints to either reference the new /usr/local/bin/ location or remove absolute path entirely where applicable

How did you verify/test it?

Run affected tests against a device running an image built using the latest sonic-buildimage code

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@jleveque
Copy link
Contributor Author

Retest this please

@jleveque jleveque merged commit 30faf0c into sonic-net:master Sep 22, 2020
@jleveque jleveque deleted the sonic_utils_wheel branch September 22, 2020 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants