]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1993] hammer.py: support for NETCONF
authorAndrei Pavel <andrei@isc.org>
Mon, 9 Aug 2021 11:23:35 +0000 (14:23 +0300)
committerAndrei Pavel <andrei@isc.org>
Mon, 9 Aug 2021 11:23:35 +0000 (14:23 +0300)
installs libyang and sysrepo

hammer.py

index c3ceb2dec1b7da73c5d321be4c4e911e889346d0..34edf07f22bb63125ef6e11ad1ed5ac9af307e3f 100755 (executable)
--- a/hammer.py
+++ b/hammer.py
@@ -1571,7 +1571,7 @@ def prepare_system_local(features, check_times):
 
         if 'netconf' in features:
             if int(revision) <= 10:
-                packages.append(['cmake', 'libpcre3-dev'])
+                packages.extend(['cmake', 'libpcre3-dev'])
                 deferred_functions.extend([
                     _install_libyang_from_sources,
                     _install_sysrepo_from_sources,
@@ -1706,7 +1706,7 @@ def prepare_system_local(features, check_times):
             # libyang-cpp-dev which results in this error when building sysrepo:
             # "Required libyang C++ bindings not found!"
             # So until it is added, install libyang from sources.
-            packages.append('cmake')
+            packages.extend(['cmake', 'pcre-dev'])
             deferred_functions.extend([
                 _install_libyang_from_sources,
                 _install_sysrepo_from_sources,