frr: T5415: upgrade libyang library to v2.1.80

This commit is contained in:
Christian Breunig 2023-08-01 20:53:12 +02:00
parent adfd8a58c6
commit 9e2ba40939
3 changed files with 10 additions and 0 deletions

View File

@ -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-buildpackage -uc -us -tc -b && \
dpkg -i ../librtr0*_${ARCH}.deb ../librtr-dev*_${ARCH}.deb ../rtr-tools*_${ARCH}.deb 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 # Packages needed for vyos-1x
RUN pip install --break-system-packages \ RUN pip install --break-system-packages \
git+https://github.com/aristanetworks/j2lint.git@341b5d5db86 \ git+https://github.com/aristanetworks/j2lint.git@341b5d5db86 \

View File

@ -1,2 +1,3 @@
frr/ frr/
rtrlib/ rtrlib/
libyang/

View File

@ -21,6 +21,10 @@
@Library('vyos-build@current')_ @Library('vyos-build@current')_
def pkgList = [ 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', ['name': 'rtrlib',
'scmCommit': 'v0.8.0', 'scmCommit': 'v0.8.0',
'scmUrl': 'https://github.com/rtrlib/rtrlib.git', 'scmUrl': 'https://github.com/rtrlib/rtrlib.git',