Skip to content

Commit 910e6fa

Browse files
zjswhhhCopilot
andcommitted
[pmon]: Install libyaml-cpp runtime dependency
Install libyaml-cpp0.8 in the Trixie-based PMON container so platform plugins that depend on libyaml-cpp.so.0.8 can load inside pmon. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Jing Zhang <zhangjing@microsoft.com>
1 parent 5b22f40 commit 910e6fa

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

dockers/docker-platform-monitor/Dockerfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ ENV DEBIAN_FRONTEND=noninteractive
1313
ENV IMAGE_VERSION=$image_version
1414

1515
# Install required packages
16+
# libyaml-cpp0.8 is required by Cisco SmartSwitch platform modules loaded by PMON.
1617
RUN apt-get update && \
1718
apt-get install -y \
1819
build-essential \
1920
python3-dev \
2021
ipmitool \
22+
libyaml-cpp0.8 \
2123
librrd8t64 \
2224
librrd-dev \
2325
rrdtool \

files/build/versions-public/dockers/docker-platform-monitor/versions-deb-trixie

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ libxdmcp6==1:1.1.5-1
129129
libxext6==2:1.3.4-1+b3
130130
libxml2==2.12.7+dfsg+really2.9.14-2.1+deb13u2
131131
libxrender1==1:0.9.12-1
132+
libyaml-cpp0.8==0.8.0+dfsg-7
132133
libyang3-dbgsym==3.12.2-1
133134
linux-libc-dev==6.12.90-2
134135
lm-sensors==1:3.6.0-7.1

files/build/versions-public/dockers/docker-platform-monitor/versions-deb-trixie-armhf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ g++-14-arm-linux-gnueabihf==14.2.0-19
55
g++-arm-linux-gnueabihf==4:14.2.0-1
66
gcc-14-arm-linux-gnueabihf==14.2.0-19
77
gcc-arm-linux-gnueabihf==4:14.2.0-1
8+
libyaml-cpp0.8==0.8.0+dfsg-7

0 commit comments

Comments
 (0)