2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#2049] some fixes for NETCONF build

This commit is contained in:
Andrei Pavel
2021-09-07 10:10:00 +03:00
committed by Andrei Pavel
parent 089243ff32
commit 67bcba4c42
2 changed files with 2 additions and 2 deletions

View File

@@ -1057,7 +1057,7 @@ def _install_sysrepo_from_sources():
execute('git clone https://github.com/sysrepo/sysrepo.git /tmp/sysrepo') execute('git clone https://github.com/sysrepo/sysrepo.git /tmp/sysrepo')
execute('git checkout v%s' % sysrepo_version, cwd='/tmp/sysrepo') execute('git checkout v%s' % sysrepo_version, cwd='/tmp/sysrepo')
execute('mkdir /tmp/sysrepo/build') execute('mkdir /tmp/sysrepo/build')
execute('cmake .. -DGEN_CPP_BINDINGS=ON -DGEN_LANGUAGE_BINDINGS=ON -DGEN_PYTHON_BINDINGS=OFF', cwd='/tmp/sysrepo/build') execute('cmake .. -DGEN_CPP_BINDINGS=ON -DGEN_LANGUAGE_BINDINGS=ON -DGEN_PYTHON_BINDINGS=OFF -DREPO_PATH=/etc/sysrepo', cwd='/tmp/sysrepo/build')
execute('make -j $(nproc || gnproc || echo 1)', cwd='/tmp/sysrepo/build') execute('make -j $(nproc || gnproc || echo 1)', cwd='/tmp/sysrepo/build')
execute('sudo make install', cwd='/tmp/sysrepo/build') execute('sudo make install', cwd='/tmp/sysrepo/build')
finally: finally:

View File

@@ -86,7 +86,7 @@ if test -z "${modules+x}"; then
fi fi
# sysrepoctl does not set its rpath. Set LD_LIBRARY_PATH instead. # sysrepoctl does not set its rpath. Set LD_LIBRARY_PATH instead.
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH-}:${sysrepo}/lib" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH-}:${sysrepo}/lib:${sysrepo}/lib64"
# Check if model is installed. # Check if model is installed.
is_model_installed() { is_model_installed() {