From 8f7cb6c6fba43f9e19d6d92216ec042ea77bf446 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sun, 31 May 2026 14:39:32 +0000 Subject: [PATCH] azure-pipelines: migrate libyang1 deb install to libyang3 sonic-buildimage no longer builds the libyang1 debs (libyang_1.0.73, libyang-cpp, python3-yang) and now builds only libyang3. Update the bookworm dependency install step to install the libyang3 runtime deb using a versionless glob instead of the removed libyang 1.0.73 deb. The download pattern target/debs/bookworm/libyang*.deb already matches the libyang3 artifacts, so only the dpkg install line needed changing. Part of sonic-net/sonic-buildimage#22385. Signed-off-by: Brad House --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index afceded..ed06edd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -118,7 +118,7 @@ jobs: runVersion: 'latestFromBranch' runBranch: 'refs/heads/$(BUILD_BRANCH)' patterns: | - target/debs/bookworm/libyang*.deb + target/debs/bookworm/libyang3_*.deb target/debs/bookworm/libnl*.deb target/python-wheels/bookworm/sonic_yang_models*.whl displayName: "Download bookworm debs" @@ -131,7 +131,7 @@ jobs: sudo dpkg -i ../target/debs/bookworm/libnl-route-3-200_*.deb sudo dpkg -i ../target/debs/bookworm/libnl-nf-3-200_*.deb # LIBYANG - sudo dpkg -i ../target/debs/bookworm/libyang*1.0.73*.deb + sudo dpkg -i ../target/debs/bookworm/libyang3_*.deb # SONIC YANGS set -ex sudo pip3 install ../target/python-wheels/bookworm/sonic_yang_models-1.0-py3-none-any.whl