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:
committed by
Andrei Pavel
parent
089243ff32
commit
67bcba4c42
@@ -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:
|
||||||
|
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user