f2a258aca9
On Arista platforms, sonic_platform packages are not installed in the PMon container, but are rather mounted into the container from the host OS. Therefore, pip show sonic_platform will fail in the PMon container. This change will first check if we can import sonic_platform. If this fails, it will then fall back to checking if the package is installed. If both fail, it will attempt to install the package. |
||
---|---|---|
.. | ||
base_image_files | ||
ssd_tools | ||
critical_processes | ||
docker_init.sh | ||
docker-pmon.supervisord.conf.j2 | ||
Dockerfile.j2 | ||
lm-sensors.sh | ||
start.sh |