rtems-proxy 0.2.4__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/PKG-INFO +1 -1
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy/_version.py +2 -2
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy/copy.py +8 -6
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy.egg-info/PKG-INFO +1 -1
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.copier-answers.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.devcontainer/devcontainer.json +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/CONTRIBUTING.md +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/actions/install_requirements/action.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/dependabot.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/pages/index.html +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/pages/make_switcher.py +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/workflows/_check.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/workflows/_dist.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/workflows/_pypi.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/workflows/_release.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/workflows/_test.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/workflows/_tox.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.github/workflows/ci.yml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.gitignore +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.pre-commit-config.yaml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.vscode/extensions.json +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.vscode/launch.json +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.vscode/settings.json +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/.vscode/tasks.json +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/Dockerfile +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/LICENSE +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/README.md +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/catalog-info.yaml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/proxy-start.sh +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/pyproject.toml +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/requirements.txt +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/setup.cfg +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy/__init__.py +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy/__main__.py +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy/globals.py +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy/telnet.py +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy.egg-info/SOURCES.txt +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy.egg-info/dependency_links.txt +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy.egg-info/entry_points.txt +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy.egg-info/requires.txt +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/src/rtems_proxy.egg-info/top_level.txt +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/tests/conftest.py +0 -0
- {rtems-proxy-0.2.4 → rtems-proxy-0.2.5}/tests/test_cli.py +0 -0
|
@@ -19,19 +19,21 @@ def copy_rtems():
|
|
|
19
19
|
rtems_root = Path("/iocs") / GLOBALS.IOC_GROUP / GLOBALS.IOC_NAME
|
|
20
20
|
# where to copy the Generic IOC folder to (at present only holds the dbd folder)
|
|
21
21
|
dest_ioc = root / "ioc"
|
|
22
|
+
# where to copy the generated runtime assets to (st.cmd and ioc.db)
|
|
22
23
|
dest_runtime = root / "runtime"
|
|
23
24
|
|
|
24
|
-
# because we are moving the ioc files we need to fix up startup script paths
|
|
25
|
-
startup = GLOBALS.RUNTIME / "st.cmd"
|
|
26
|
-
cmd_txt = startup.read_text()
|
|
27
|
-
cmd_txt = re.sub("/epics/", f"{str(rtems_root)}/", cmd_txt)
|
|
28
|
-
startup.write_text(cmd_txt)
|
|
29
|
-
|
|
30
25
|
# clean up previous IOC binaries
|
|
31
26
|
shutil.rmtree(dest_ioc, ignore_errors=True)
|
|
32
27
|
shutil.rmtree(dest_runtime, ignore_errors=True)
|
|
28
|
+
|
|
33
29
|
# move all the files needed for runtime into the PVC that is being shared
|
|
34
30
|
# over nfs/tftp by the nfsv2-tftp service
|
|
35
31
|
Path.mkdir(dest_ioc, exist_ok=True)
|
|
36
32
|
shutil.copytree(GLOBALS.IOC / "dbd", dest_ioc, symlinks=True, dirs_exist_ok=True)
|
|
37
33
|
shutil.copytree(GLOBALS.RUNTIME, dest_runtime, dirs_exist_ok=True)
|
|
34
|
+
|
|
35
|
+
# because we moved the ioc files we need to fix up startup script paths
|
|
36
|
+
startup = dest_runtime / "st.cmd"
|
|
37
|
+
cmd_txt = startup.read_text()
|
|
38
|
+
cmd_txt = re.sub("/epics/", f"{str(rtems_root)}/", cmd_txt)
|
|
39
|
+
startup.write_text(cmd_txt)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|