Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
3482b816
Commit
3482b816
authored
Dec 27, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7c861be6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+1
-1
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+4
-4
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
3482b816
...
...
@@ -28,7 +28,7 @@ md5sum = dc3bff7742d78a7831748a51659f63a4
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum =
8232657281b5cc2281d9e281ba2701e2
md5sum =
4dfdb18b93f4dae96aaf5deb05a04db9
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
...
...
@@ -36,7 +36,7 @@ md5sum = b7906ca3a6b17963f78f680fc0842b74
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
89a0c95fa8357032fcd1867ba2b792d1
md5sum =
48214e7aa5852cd1612235ab4ec8b67c
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
...
...
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
3482b816
...
...
@@ -28,7 +28,7 @@
{#- set B = xbuildout.encode #}
{%- macro B(name) %}
{#- always add some prefix to catch mismatched references without B() #}
{{- '
B
' + xbuildout.encode(name) -}}
{{- '' + xbuildout.encode(name) -}}
{%- endmacro %}
{#- part emits new buildout section and registers it into buildout.parts #}
...
...
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
3482b816
...
...
@@ -47,23 +47,23 @@ output = ${directory:script}/{{ru_ref}}-software.py
{{ promise('%s-firmware' % ru_ref) }}
promise = check_command_execute
config-command = [ -f ${ {{-
ru_ref}}-software-template
:is_firmware_updated} ]
config-command = [ -f ${ {{-
B('%s-software-template' % ru_ref)}}
:is_firmware_updated} ]
{#- push config to RU #}
{% if ru.get("cu_config_link", None) %}
[{{
ru_ref}}-cu-config-dl
]
[{{
B('%s-cu-config-dl' % ru_ref) }}
]
recipe = slapos.recipe.build:download
url = {{ ru.cu_config_link }}
version = {{ ru.get("cu_config_version") }}
offline = false
{% endif %}
[{{
ru_ref}}-cu-config
]
[{{
B('%s-cu-config' % ru_ref) }}
]
<= config-base
{% if ru.get("cu_config_link", None) %}
url = ${ {{-
ru_ref}}-cu-config-dl
:target}
url = ${ {{-
B('%s-cu-config-dl' % ru_ref)}}
:target}
{% else %}
url = {{ ru_lopcomm_cu_config_template }}
{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment