diff --git a/files/build_templates/sonic_debian_extension.j2 b/files/build_templates/sonic_debian_extension.j2 index 37b264304f..738c11a6f0 100644 --- a/files/build_templates/sonic_debian_extension.j2 +++ b/files/build_templates/sonic_debian_extension.j2 @@ -405,18 +405,7 @@ sudo chmod a+x $FILESYSTEM_ROOT/usr/sbin/policy-rc.d {% if installer_debs.strip() -%} {% for deb in installer_debs.strip().split(' ') -%} -{% if sonic_asic_platform == "mellanox" %} -if [ -e tmpdir ] ; -then - rm -rf tmpdir; -fi -sudo mkdir tmpdir -sudo dpkg --extract {{deb}} tmpdir -for subdir in $(ls tmpdir) ; do sudo cp -R tmpdir/$subdir/* $FILESYSTEM_ROOT/$subdir; done -sudo rm -rf tmpdir -{% else %} sudo dpkg --root=$FILESYSTEM_ROOT -i {{deb}} || sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f -{% endif %} {% endfor %} {% endif %} diff --git a/platform/mellanox/mft.mk b/platform/mellanox/mft.mk index 0adfec10c3..213b7f9fc0 100644 --- a/platform/mellanox/mft.mk +++ b/platform/mellanox/mft.mk @@ -1,7 +1,7 @@ # Mellanox SAI -MFT_VERSION = 4.14.5 -MFT_REVISION = 2 +MFT_VERSION = 4.15.0 +MFT_REVISION = 104 export MFT_VERSION MFT_REVISION