Skip to content

Commit 2ee63c2

Browse files
authored
Added blkinfo module to host for use by ssdutil (sonic-net#19362)
* Added blkinfo module to host for use by ssdutil * Added blkinfo and psutil (as needed) to the sonic slave dockerfile
1 parent 06df234 commit 2ee63c2

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

files/build_templates/sonic_debian_extension.j2

+3
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ sudo rm -rf $FILESYSTEM_ROOT/$REDIS_DUMP_LOAD_PY3_WHEEL_NAME
132132
# Install Python module for psutil
133133
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install psutil
134134

135+
# Install Python module for blkinfo
136+
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install blkinfo
137+
135138
# Install Python module for ipaddr
136139
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install ipaddr
137140

sonic-slave-bookworm/Dockerfile.j2

+1
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ RUN pip3 uninstall -y enum34
565565
# For sonic-platform-common testing
566566
RUN pip3 install redis
567567
RUN pip3 install psutil
568+
RUN pip3 install blkinfo
568569

569570
# For sonic-swss-common testing
570571
RUN pip3 install Pympler==1.0

sonic-slave-bullseye/Dockerfile.j2

+2
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,8 @@ RUN pip3 install "lxml==4.9.1"
587587

588588
# For sonic-platform-common testing
589589
RUN pip3 install redis
590+
RUN pip3 install psutil
591+
RUN pip3 install blkinfo
590592

591593
# For vs image build
592594
RUN pip3 install pexpect==4.8.0

sonic-slave-buster/Dockerfile.j2

+4
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,10 @@ RUN pip3 install "lxml==4.9.1"
561561
# For sonic-platform-common testing
562562
RUN pip2 install redis
563563
RUN pip3 install redis
564+
RUN pip2 install psutil
565+
RUN pip3 install psutil
566+
RUN pip2 install blkinfo
567+
RUN pip3 install blkinfo
564568
565569
# For vs image build
566570
RUN pip2 install pexpect==4.6.0

0 commit comments

Comments
 (0)