2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

[#2045] hammer.py: libyang from sources on f33

This commit is contained in:
Andrei Pavel 2021-08-20 11:06:01 +03:00
parent 388b52124a
commit d67a9fe0a3
No known key found for this signature in database
GPG Key ID: 86E9385BC2203766

View File

@ -1034,9 +1034,9 @@ def _install_sysrepo_from_sources():
'1.6.5': '1.4.2',
'1.7.9': '1.4.66',
'1.9.0': '1.4.70',
'1.9.2': '1.4.70', # fedora 33
# '1.9.2': '1.4.70', # fedora 33
'1.9.11': '1.4.122',
'1.10.7': '1.4.122', # alpine 3.13
# '1.10.7': '1.4.122', # alpine 3.13
'1.10.17': '1.4.122', # fedora 34
'1.10.29': '1.4.140',
'1.10.240': '1.4.140',
@ -1380,6 +1380,13 @@ def prepare_system_local(features, check_times):
packages.extend(['ccache'])
if 'netconf' in features:
if int(revision) <= 33:
packages.extend(['cmake', 'pcre2-devel'])
deferred_functions.extend([
_install_libyang_from_sources,
_install_sysrepo_from_sources,
])
else:
packages.extend(['cmake', 'libyang', 'libyang-devel', 'libyang-cpp', 'libyang-cpp-devel'])
deferred_functions.append(_install_sysrepo_from_sources)