Skip to content

[action] [PR:82] azure-pipelines: migrate libyang1 deb install to libyang3#84

Merged
mssonicbld merged 1 commit into
sonic-net:202605from
mssonicbld:cherry/202605/82
Jun 16, 2026
Merged

[action] [PR:82] azure-pipelines: migrate libyang1 deb install to libyang3#84
mssonicbld merged 1 commit into
sonic-net:202605from
mssonicbld:cherry/202605/82

Conversation

@mssonicbld

Copy link
Copy Markdown

Why I did it

sonic-buildimage no longer builds the legacy libyang1 packages (libyang_1.0.73, libyang-cpp, python3-yang) — the build now produces only libyang3 (libyang3, python3-libyang). This repo's CI still dpkg -i's the libyang1 deb, which will fail once libyang1 is gone.

Part of the libyang3 migration tracked in sonic-net/sonic-buildimage#22385.

How I did it

Updated the azure-pipelines.yml dependency install step to install the libyang3 deb using a versionless glob (libyang3_*.deb) instead of libyang_1.*.deb.

How to verify it

CI install step succeeds against the libyang3 debs produced by current sonic-buildimage master.

Description for the changelog

azure-pipelines: install libyang3 instead of libyang1.
Signed-off-by: Sonic Build Admin sonicbld@microsoft.com

#### Why I did it

`sonic-buildimage` no longer builds the legacy libyang1 packages (`libyang_1.0.73`, `libyang-cpp`, `python3-yang`) — the build now produces only libyang3 (`libyang3`, `python3-libyang`). This repo's CI still `dpkg -i`'s the libyang1 deb, which will fail once libyang1 is gone.

Part of the libyang3 migration tracked in sonic-net/sonic-buildimage#22385.

#### How I did it

Updated the `azure-pipelines.yml` dependency install step to install the libyang3 deb using a versionless glob (`libyang3_*.deb`) instead of `libyang_1.*.deb`.

#### How to verify it

CI install step succeeds against the libyang3 debs produced by current `sonic-buildimage` master.

#### Description for the changelog

azure-pipelines: install libyang3 instead of libyang1.
Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
@mssonicbld

Copy link
Copy Markdown
Author

Original PR: #82

@mssonicbld

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 9c8d2ae into sonic-net:202605 Jun 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant