From f247791200c8a719f619d02f072626d9b0f2f511 Mon Sep 17 00:00:00 2001 From: graysonwu Date: Fri, 24 Feb 2023 15:34:33 -0800 Subject: [PATCH] test tmp OVS fix patch --- build/images/ovs/apply-patches.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build/images/ovs/apply-patches.sh b/build/images/ovs/apply-patches.sh index aa62b5a53ed..f01989ab68a 100755 --- a/build/images/ovs/apply-patches.sh +++ b/build/images/ovs/apply-patches.sh @@ -42,6 +42,16 @@ function apply_patch() { git apply "$@" } +function apply_custom_patch() { + commit_sha="$1" + shift + curl -s "https://github.com/ovsrobot/ovs/commit/$commit_sha.patch" | \ + git apply "$@" +} +echo "applying tmp fix patch..." +apply_custom_patch "3e0ed8d6ad65b829416d617df5af9376998869bc" +echo "tmp fix patch applied." + if version_lt "$OVS_VERSION" "2.13.0" || version_gt "$OVS_VERSION" "2.17.3"; then echoerr "OVS_VERSION $OVS_VERSION is not supported (must be >= 2.13.0 and <= 2.17.3)" exit 1