Skip to content

Commit

Permalink
[Mellanox] Addition of minicom configuration file (#19234)
Browse files Browse the repository at this point in the history
- Why I did it
For setting the rts and cts configuration for the minicom package to the switch image, The file is copied to minicom configuration location in the switch image
This is a machine generated file in minicom , so the configuration can be present in the switch image upon installation
  • Loading branch information
gpunathilell authored Jul 2, 2024
1 parent 6728c3e commit e488f10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/build_templates/sonic_debian_extension.j2
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,8 @@ sudo LANG=C chroot $FILESYSTEM_ROOT systemctl enable nv-syncd-shared

# Install required packages specific for mellanox platform
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install minicom xmlstarlet
sudo mkdir -p $FILESYSTEM_ROOT/etc/minicom/
sudo cp platform/mellanox/minirc.dfl $FILESYSTEM_ROOT/etc/minicom/

sudo LANG=C chroot $FILESYSTEM_ROOT systemctl disable rshim.service
{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions platform/mellanox/minirc.dfl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Machine-generated file - use "minicom -s" to change parameters.
pu rtscts No

0 comments on commit e488f10

Please sign in to comment.