rtems-proxy 0.6.1__tar.gz → 0.6.3__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.6.1 → rtems_proxy-0.6.3}/PKG-INFO +1 -1
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/_version.py +2 -2
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/copy.py +5 -5
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/rsync.sh.jinja +10 -2
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/telnet.py +0 -2
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy.egg-info/PKG-INFO +1 -1
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.copier-answers.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.devcontainer/devcontainer.json +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/CONTRIBUTING.md +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/ISSUE_TEMPLATE/issue.md +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/actions/install_requirements/action.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/dependabot.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/pages/index.html +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/pages/make_switcher.py +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/workflows/_check.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/workflows/_dist.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/workflows/_pypi.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/workflows/_release.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/workflows/_test.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/workflows/_tox.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/workflows/ci.yml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.gitignore +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.pre-commit-config.yaml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.vscode/extensions.json +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.vscode/launch.json +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.vscode/settings.json +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.vscode/tasks.json +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/Dockerfile +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/LICENSE +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/README.md +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/proxy-start.sh +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/pyproject.toml +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/requirements.txt +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/setup.cfg +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/__init__.py +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/__main__.py +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/globals.py +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy/utils.py +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy.egg-info/SOURCES.txt +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy.egg-info/dependency_links.txt +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy.egg-info/entry_points.txt +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy.egg-info/requires.txt +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/src/rtems_proxy.egg-info/top_level.txt +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/tests/conftest.py +0 -0
- {rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/tests/test_cli.py +0 -0
|
@@ -41,6 +41,11 @@ def copy_rtems():
|
|
|
41
41
|
dest = protocol_folder / proto_file.name
|
|
42
42
|
shutil.copy(proto_file, dest)
|
|
43
43
|
|
|
44
|
+
# make sure all files are writable - by default some products are read-only
|
|
45
|
+
for folder in [dest_ioc, dest_runtime]:
|
|
46
|
+
for file in folder.glob("**/*"):
|
|
47
|
+
file.chmod(0o666)
|
|
48
|
+
|
|
44
49
|
# copy all the files needed for runtime into the PVC that is being shared
|
|
45
50
|
# over nfs/tftp by the nfsv2-tftp service
|
|
46
51
|
for folder in ["bin", "dbd"]:
|
|
@@ -53,9 +58,4 @@ def copy_rtems():
|
|
|
53
58
|
startup = dest_runtime / "st.cmd"
|
|
54
59
|
cmd_txt = startup.read_text()
|
|
55
60
|
cmd_txt = re.sub("/epics/", f"{str(nfs_root)}/", cmd_txt)
|
|
56
|
-
# also fix up the protocol path to point to protocol_folder
|
|
57
|
-
cmd_txt = (
|
|
58
|
-
cmd_txt
|
|
59
|
-
+ f'\nepicsEnvSet("STREAM_PROTOCOL_PATH", "{str(nfs_root / "runtime" / "protocol")}")\n'
|
|
60
|
-
)
|
|
61
61
|
startup.write_text(cmd_txt)
|
|
@@ -43,8 +43,16 @@ echo "
|
|
|
43
43
|
|
|
44
44
|
while true; do
|
|
45
45
|
inotifywait -e modify,create,delete,move -r $RTEMS_TFTP_PATH
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
echo 'rsyncing files to server'
|
|
47
|
+
date
|
|
48
|
+
for i in 1 2 3 ; do
|
|
49
|
+
# repeat because inotify fires on the first change of several
|
|
50
|
+
# don't copy the huge ioc binary file with symbols
|
|
51
|
+
rsync -rim --exclude bin/RTEMS-beatnik/ioc --delete /$RTEMS_TFTP_PATH/ \
|
|
52
|
+
"rsync://$RTEMS_TFTP_IP:12002/files/$IOC_NAME/"
|
|
53
|
+
sleep 1
|
|
54
|
+
done
|
|
55
|
+
echo 'rsync complete'
|
|
48
56
|
done
|
|
49
57
|
" > /tmp/rsync-background.sh
|
|
50
58
|
chmod +x /tmp/rsync-background.sh
|
|
@@ -156,8 +156,6 @@ class TelnetRTEMS:
|
|
|
156
156
|
self.reboot(RtemsState.IOC)
|
|
157
157
|
self._child.expect(self.IOC_STARTED, timeout=50)
|
|
158
158
|
|
|
159
|
-
report("press enter for IOC shell prompt")
|
|
160
|
-
|
|
161
159
|
def get_boot_prompt(self):
|
|
162
160
|
"""
|
|
163
161
|
Get to the bootloader prompt, if the IOC shell is running then exit
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rtems_proxy-0.6.1 → rtems_proxy-0.6.3}/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md
RENAMED
|
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
|