Skip to content

Commit

Permalink
[make file] managing teamd patches with stg (sonic-net#2689)
Browse files Browse the repository at this point in the history
Just so that the folder will be clean and make working on new patches
much easier.

Signed-off-by: Ying Xie <[email protected]>
  • Loading branch information
yxieca authored and tiantianlv committed Apr 10, 2019
1 parent bf0fd9d commit dd2595d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/libteam/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
rm -rf ./libteam
git clone https://github.com/jpirko/libteam.git
pushd ./libteam
git checkout -f v1.26
git checkout -b teamd -f v1.26

# Apply patch
git apply ../0001-libteam-Add-team_get_port_enabled-function.patch
git apply ../0002-libteam-Temporarily-remove-redundant-debug-mes.patch
git apply ../0003-teamd-lacp-runner-will-send-lacp-update-right-after-.patch
git apply ../0004-libteam-Add-lacp-fallback-support-for-single-member-.patch
git apply ../0005-libteam-Add-warm_reboot-mode.patch
git apply ../0006-Fix-ifinfo_link_with_port-race-condition-with-newlink.patch
# Apply patch series
stg init
stg import -s ../series
popd

# Obtain debian packaging
Expand Down
6 changes: 6 additions & 0 deletions src/libteam/series
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
0001-libteam-Add-team_get_port_enabled-function.patch
0002-libteam-Temporarily-remove-redundant-debug-mes.patch
0003-teamd-lacp-runner-will-send-lacp-update-right-after-.patch
0004-libteam-Add-lacp-fallback-support-for-single-member-.patch
0005-libteam-Add-warm_reboot-mode.patch
0006-Fix-ifinfo_link_with_port-race-condition-with-newlink.patch

0 comments on commit dd2595d

Please sign in to comment.