Skip to content

Commit

Permalink
[master][ethtool] Install ethtool to localhost (#18241)
Browse files Browse the repository at this point in the history
Signed-off-by: mlok <marty.lok@nokia.com>
  • Loading branch information
mlok-nokia authored May 18, 2024
1 parent 2fb29d3 commit 1fd869b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
sysstat \
xxd \
wireless-regdb \
ethtool \
zstd \
nvme-cli

Expand Down
5 changes: 3 additions & 2 deletions dockers/docker-platform-monitor/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ RUN apt-get update && \
iputils-ping \
pciutils \
nvme-cli \
ethtool && \
ethtool

# smartmontools version should match the installed smartmontools in sonic_debian_extension build template
apt-get install -y -t bookworm-backports \
RUN apt-get install -y -t bookworm-backports \
smartmontools

# On Arista devices, the sonic_platform wheel is not installed in the container.
Expand Down
1 change: 0 additions & 1 deletion rules/docker-platform-monitor.mk
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ $(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python3/dist-packages/so
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/bin/sensors
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/sbin/iSmart
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/sbin/SmartCmd
$(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += cmd_wrapper:/usr/bin/ethtool
$(DOCKER_PLATFORM_MONITOR)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)

SONIC_BOOKWORM_DOCKERS += $(DOCKER_PLATFORM_MONITOR)
Expand Down

0 comments on commit 1fd869b

Please sign in to comment.