From e5aa169d8430b3a41df3e2753dfd8ad8cec1f393 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Thu, 21 Mar 2019 16:27:29 +0000 Subject: [PATCH] [make file] managing teamd patches with stg Just so that the folder will be clean and make working on new patches much easier. Signed-off-by: Ying Xie --- src/libteam/Makefile | 12 ++++-------- src/libteam/series | 6 ++++++ 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 src/libteam/series diff --git a/src/libteam/Makefile b/src/libteam/Makefile index 5dfa757f094d..256680d34943 100644 --- a/src/libteam/Makefile +++ b/src/libteam/Makefile @@ -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 diff --git a/src/libteam/series b/src/libteam/series new file mode 100644 index 000000000000..af8cc1b440c6 --- /dev/null +++ b/src/libteam/series @@ -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