Skip to content

Commit f9253d3

Browse files
authored
Merge pull request sonic-net#40 from gechiang/202205
[chassis] add libffi-dev for sonic-utilities (sonic-net#15218)
2 parents 119820c + ca77a82 commit f9253d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

files/build_templates/sonic_debian_extension.j2

+3
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
214214
# Install prerequisites needed for using the Python m2crypto package, used by sonic-utilities
215215
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install openssl
216216

217+
# install libffi-dev to match utilities' dependency.
218+
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install libffi-dev
219+
217220
# Install SONiC Utilities Python package
218221
SONIC_UTILITIES_PY3_WHEEL_NAME=$(basename {{sonic_utilities_py3_wheel_path}})
219222
sudo cp {{sonic_utilities_py3_wheel_path}} $FILESYSTEM_ROOT/$SONIC_UTILITIES_PY3_WHEEL_NAME

0 commit comments

Comments
 (0)