Skip to content

Commit 68e063b

Browse files
assrinivasandavidpil2002
authored andcommitted
Added libpci and pciutils to the pmon docker (sonic-net#12684)
This enables the pcied daemon to call the corresponding system commands needed for pci transactions
1 parent e84b2ff commit 68e063b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dockers/docker-platform-monitor/Dockerfile.j2

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RUN apt-get update && \
2727
python3-jsonschema \
2828
libpci3 \
2929
iputils-ping \
30+
pciutils \
3031
# smartmontools version should match the installed smartmontools in sonic_debian_extension build template
3132
smartmontools=7.2-1
3233

@@ -41,6 +42,9 @@ RUN pip3 install grpcio==1.39.0 \
4142
# Barefoot platform vendors' sonic_platform packages import the Python 'thrift' library
4243
RUN pip3 install thrift==0.13.0
4344

45+
# We install the libpci module in order to be able to do PCI transactions
46+
RUN pip3 install libpci
47+
4448
{% if docker_platform_monitor_debs.strip() -%}
4549
# Copy locally-built Debian package dependencies
4650
{{ copy_files("debs/", docker_platform_monitor_debs.split(' '), "/debs/") }}

0 commit comments

Comments
 (0)