summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile5
-rw-r--r--packages/frr/.gitignore1
-rw-r--r--packages/frr/Jenkinsfile4
3 files changed, 10 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index a4c2b931..8b33d506 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -211,6 +211,11 @@ RUN export RTRLIB_VERSION="0.8.0" export ARCH=$(dpkg-architecture -qDEB_HOST_ARC
dpkg-buildpackage -uc -us -tc -b && \
dpkg -i ../librtr0*_${ARCH}.deb ../librtr-dev*_${ARCH}.deb ../rtr-tools*_${ARCH}.deb
+RUN export LIBYANG_VERSION="v2.1.80" export ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) && \
+ git clone https://github.com/CESNET/libyang.git /tmp/libyang && cd /tmp/libyang && \
+ pipx run apkg build -i && find pkg/pkgs -type f -name *.deb -exec mv -t .. {} + && \
+ dpkg -i ../libyang*.deb
+
# Packages needed for vyos-1x
RUN pip install --break-system-packages \
git+https://github.com/aristanetworks/j2lint.git@341b5d5db86 \
diff --git a/packages/frr/.gitignore b/packages/frr/.gitignore
index 9aefeba5..8afd14e8 100644
--- a/packages/frr/.gitignore
+++ b/packages/frr/.gitignore
@@ -1,2 +1,3 @@
frr/
rtrlib/
+libyang/
diff --git a/packages/frr/Jenkinsfile b/packages/frr/Jenkinsfile
index 0e82657d..26bcc369 100644
--- a/packages/frr/Jenkinsfile
+++ b/packages/frr/Jenkinsfile
@@ -21,6 +21,10 @@
@Library('vyos-build@current')_
def pkgList = [
+ ['name': 'libyang',
+ 'scmCommit': 'v2.1.80',
+ 'scmUrl': 'https://github.com/CESNET/libyang.git',
+ 'buildCmd': 'pipx run apkg build -i && find pkg/pkgs -type f -name *.deb -exec mv -t .. {} +'],
['name': 'rtrlib',
'scmCommit': 'v0.8.0',
'scmUrl': 'https://github.com/rtrlib/rtrlib.git',