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