Skip to content
Snippets Groups Projects
Commit 2856acfd authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'feat/150-fix-libyang-version-in-nbi-component' into 'develop'

Resolve "Fix libyang version in NBI component"

See merge request !230
parents 2c26a307 ab387687
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!230Resolve "Fix libyang version in NBI component"
......@@ -171,5 +171,8 @@ local_k8s_deployment.sh
# asdf configuration
.tool-versions
# libyang build files
libyang/
# Other logs
**/logs/*.log.*
......@@ -32,8 +32,11 @@ sudo apt-get --yes --quiet --quiet update
sudo apt-get --yes --quiet --quiet install build-essential cmake libpcre2-dev python3-dev python3-cffi
mkdir libyang
git clone https://github.com/CESNET/libyang.git libyang
git fetch
git checkout v2.1.148
mkdir libyang/build
cd libyang/build
echo "*" > .gitignore
cmake -D CMAKE_BUILD_TYPE:String="Release" ..
make
sudo make install
......
......@@ -61,6 +61,9 @@ RUN apt-get --yes --quiet --quiet update && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/libyang
RUN git clone https://github.com/CESNET/libyang.git /var/libyang
WORKDIR /var/libyang
RUN git fetch
RUN git checkout v2.1.148
RUN mkdir -p /var/libyang/build
WORKDIR /var/libyang/build
RUN cmake -D CMAKE_BUILD_TYPE:String="Release" ..
......
......@@ -18,6 +18,9 @@ sudo apt-get install python3-dev gcc python3-cffi
```bash
mkdir ~/tfs-ctrl/libyang
git clone https://github.com/CESNET/libyang.git ~/tfs-ctrl/libyang
cd ~/tfs-ctrl/libyang
git fetch
git checkout v2.1.148
mkdir ~/tfs-ctrl/libyang/build
cd ~/tfs-ctrl/libyang/build
cmake -D CMAKE_BUILD_TYPE:String="Release" ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment