[make file] managing teamd patches with stg (#2689)
Just so that the folder will be clean and make working on new patches much easier. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
parent
5cfd97a65f
commit
60968cf95b
@ -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
|
||||
|
6
src/libteam/series
Normal file
6
src/libteam/series
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user