sonic-buildimage/dockers/docker-platform-monitor
Joe LeVeque f2a258aca9
[docker-platform-monitor] Check if sonic_platform is available before installed (#5764)
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.
2020-11-01 01:48:07 -08:00
..
base_image_files [submodule update] Add SSD Health tools (#3218) 2019-10-04 10:52:58 -07:00
ssd_tools [submodule update] Add SSD Health tools (#3218) 2019-10-04 10:52:58 -07:00
critical_processes [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker_init.sh [docker-pmon] Fix copy of fancontrol config file (#5037) 2020-07-28 00:23:21 -07:00
docker-pmon.supervisord.conf.j2 [thermalctld] Enlarge startretries value to avoid thermalctld not able to restart during regression test (#5633) 2020-10-30 12:01:17 -07:00
Dockerfile.j2 Explicitly call pip2 rather than pip in locations where both pip2 and pip3 are installed (#5747) 2020-10-30 09:43:14 -07:00
lm-sensors.sh [sensors]: Workaround for apparent bug in lm-sensors (#1058) 2017-10-20 11:01:26 -07:00
start.sh [docker-platform-monitor] Check if sonic_platform is available before installed (#5764) 2020-11-01 01:48:07 -08:00