Skip to content

Commit fe278fb

Browse files
assrinivasanliuh-80
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 b7ef7fc commit fe278fb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dockers/docker-platform-monitor/Dockerfile.j2

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ RUN apt-get update && \
2626
i2c-tools \
2727
psmisc \
2828
python3-jsonschema \
29-
libpci3
29+
libpci3 \
30+
pciutils
3031

3132
# TODO: Remove these lines once we no longer need Python 2
3233
RUN apt-get install -f -y python-dev python-pip
@@ -48,6 +49,9 @@ RUN pip2 install enum34
4849
RUN pip2 install thrift==0.13.0
4950
RUN pip3 install thrift==0.13.0
5051
52+
# We install the libpci module in order to be able to do PCI transactions
53+
RUN pip3 install libpci
54+
5155
{% if docker_platform_monitor_debs.strip() -%}
5256
# Copy locally-built Debian package dependencies
5357
{{ copy_files("debs/", docker_platform_monitor_debs.split(' '), "/debs/") }}

0 commit comments

Comments
 (0)