Skip to content

Commit

Permalink
Upgrade Python2 code in ovs-monitor-ipsec
Browse files Browse the repository at this point in the history
It is a workaround before upstream/ovs code update in ovs-monitor-ipsec.
  • Loading branch information
lzhecheng committed Aug 7, 2020
1 parent 3f84fe3 commit cbb3243
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/images/ovs/apply-patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,8 @@ if version_get "$OVS_VERSION" "2.13.0"; then
# but this seems like an acceptable workaround.
sed -i 's/python3\.7/python3\.6/' debian/openvswitch-test.install
sed -i 's/python3\.7/python3\.6/' debian/python3-openvswitch.install

# OVS ovs-monitor-ipsec is Python2 code but others have upgraded to Python3. Before upstream updates,
# here ovs-monitor-ipsec should be modified.
curl https://github.com/lzhecheng/ovs/commit/869b06356e389079861962160e864df609d033e5.patch | git apply
fi

0 comments on commit cbb3243

Please sign in to comment.