Skip to content

Commit 1fd869b

Browse files
authored
[master][ethtool] Install ethtool to localhost (#18241)
Signed-off-by: mlok <marty.lok@nokia.com>
1 parent 2fb29d3 commit 1fd869b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build_debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
406406
sysstat \
407407
xxd \
408408
wireless-regdb \
409+
ethtool \
409410
zstd \
410411
nvme-cli
411412

dockers/docker-platform-monitor/Dockerfile.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ RUN apt-get update && \
2727
iputils-ping \
2828
pciutils \
2929
nvme-cli \
30-
ethtool && \
30+
ethtool
31+
3132
# smartmontools version should match the installed smartmontools in sonic_debian_extension build template
32-
apt-get install -y -t bookworm-backports \
33+
RUN apt-get install -y -t bookworm-backports \
3334
smartmontools
3435

3536
# On Arista devices, the sonic_platform wheel is not installed in the container.

rules/docker-platform-monitor.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ $(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python3/dist-packages/so
6565
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/bin/sensors
6666
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/sbin/iSmart
6767
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/sbin/SmartCmd
68-
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/bin/ethtool
6968
$(DOCKER_PLATFORM_MONITOR)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
7069

7170
SONIC_BOOKWORM_DOCKERS += $(DOCKER_PLATFORM_MONITOR)

0 commit comments

Comments
 (0)