Skip to content

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

Merged
jleveque merged 2 commits intosonic-net:masterfrom
jleveque:sonic_utils_wheel
Sep 22, 2020
Merged

Update paths to reflect new sonic-utilities install location, /usr/local/bin/#2247
jleveque merged 2 commits intosonic-net:masterfrom
jleveque:sonic_utils_wheel

Conversation

@jleveque
Copy link
Copy Markdown
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
Copy Markdown
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