[VOL-5031] - baseline build for repo:voltha-onos
makefiles/*.mk
*.sh
etc/*.sh
Dockerfile.votlha-onos
----------------------
o Update copyright notice ending date.
o Patch will trigger a clean build to screen for pre-existing failures.
Dockerfile.votlha-onos
----------------------
o Remove duplciate apt-get call, only need to refresh the index once.
Change-Id: Iacf97a88266d300ec6985d233f388f1b25c5c90c
diff --git a/makefiles/virtualenv/HOWTO b/makefiles/virtualenv/HOWTO
new file mode 100644
index 0000000..ffdc30f
--- /dev/null
+++ b/makefiles/virtualenv/HOWTO
@@ -0,0 +1,21 @@
+# Howto create a python 3.10+ patch
+
+1) Checkout voltha-docs
+2) cd voltha-docs
+3) Create a virtual environment:
+ - make venv (default python version)
+ - make venv-activate-patched (for python v3.10+)
+4) make patch-init
+5) modify the file to be patched beneath staging/${relative_path_to_patch}
+6) make patch-create PATCH_PATH=${relative_path_to_patch}
+ o This will create patches/${relative_path_to_patch}/patch
+ o make patch-create PATCH_PATH=lib/python3.10/site-packages/sphinx/util/typing.py
+ lib/python3.10/site-packages/sphinx/util/typing/patch
+7) Verify
+ o make sterile
+ o make venv
+8) Validate
+ o make lint
+ o make test
+
+# [EOF]