Update Mininet patch for 2022 apr (#464)

* Update the patch applied when installing Mininet

* Additional changes intended to be part of previous commit

* Specify a particular recent commit of Mininet to use
This commit is contained in:
Andy Fingerhut
2022-04-10 01:03:55 -04:00
committed by GitHub
parent fbd5128098
commit 7e2ae40cbd
3 changed files with 41 additions and 2 deletions

View File

@@ -4,10 +4,12 @@
set -xe
# --- Mininet --- #
MININET_COMMIT="aa0176fce6fb718a03474f8719261b07b670d30d" # 2022-Apr-02
git clone https://github.com/mininet/mininet mininet
cd mininet
git checkout ${MININET_COMMIT}
PATCH_DIR="${HOME}/patches"
patch -p1 < "${PATCH_DIR}/mininet-dont-install-python2.patch" || echo "Errors while attempting to patch mininet, but continuing anyway ..."
patch -p1 < "${PATCH_DIR}/mininet-dont-install-python2-2022-apr.patch" || echo "Errors while attempting to patch mininet, but continuing anyway ..."
cd ..
# TBD: Try without installing openvswitch, i.e. no '-v' option, to see
# if everything still works well without it.