Commit df1005cc authored by Lu Xu's avatar Lu Xu 👀

wip

parent 6bb15efa
......@@ -36,11 +36,11 @@ md5sum = b34fe47a73890097fbc6ea6374aeb38d
[lopcomm-rrh-software.jinja2.py]
_update_hash_filename_ = lopcomm-rrh-software.jinja2.py
md5sum = eea9fff153aa135bf1d2a46815a05a30
md5sum = 2ef31f3d2482250a377d305dda07cb02
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum = 543e8f689cafae428c9af7e6b34e6936
md5sum = 25c028813e756502d30a7fd6b446dea6
[template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
......
......@@ -286,7 +286,7 @@ context =
raw testing {{ slapparameter_dict.get("testing", False) }}
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
raw software_install_template {{ software_install_template }}
raw firmware_name lopcomm-firmware-dl:filename
raw firmware_name ${lopcomm-firmware-dl:filename}
import netaddr netaddr
mode = 0775
url = {{ lopcomm_rrh_software_template }}
......
......@@ -105,7 +105,7 @@ if __name__ == '__main__':
if active_slot_name and nonactive_slot_name:
# Check if the running slot's build-version is already in file-names of the active slot
if active_slot_build_version in {{ firmware_name }}:
if active_slot_build_version in "{{ firmware_name }}":
nc.logger.info("Running slot's build-version is already updated. Skipping install.")
else:
# Install software in the non-active slot
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment