Skip to content

Commit

Permalink
test tmp OVS fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
GraysonWu committed Feb 24, 2023
1 parent 480f02e commit f247791
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/images/ovs/apply-patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f247791

Please sign in to comment.