Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker-sonic-vs] Create /usr/share/sonic/platform symlink (sonic-net…
…#5268) Copying platform.json file into an empty /usr/share/sonic/platform directory does not mimic an actual device. A more correct approach is to create a /usr/share/sonic/platform symlink which links to the actual platform directory; this is more like what is done inside SONiC containers. Then, we only need to copy the platform.json file into the actual platform directory; the symlink takes care of the alternative path, and also exposes all the other files in the platform directory.
- Loading branch information