Skip to content

Commit 00081c5

Browse files
committed
[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 <[email protected]>
1 parent f29e623 commit 00081c5

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/libteam/Makefile

+4-8
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
1212
rm -rf ./libteam
1313
git clone https://github.com/jpirko/libteam.git
1414
pushd ./libteam
15-
git checkout -f v1.26
15+
git checkout -b teamd -f v1.26
1616

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

2622
# Obtain debian packaging

src/libteam/series

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
0001-libteam-Add-team_get_port_enabled-function.patch
2+
0002-libteam-Temporarily-remove-redundant-debug-mes.patch
3+
0003-teamd-lacp-runner-will-send-lacp-update-right-after-.patch
4+
0004-libteam-Add-lacp-fallback-support-for-single-member-.patch
5+
0005-libteam-Add-warm_reboot-mode.patch
6+
0006-Fix-ifinfo_link_with_port-race-condition-with-newlink.patch

0 commit comments

Comments
 (0)