-
Notifications
You must be signed in to change notification settings - Fork 1.8k
upgrade FRR to version 10.0.1, upgrade libyang2 to 2.1.148. #20269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,7 +67,9 @@ RUN apt-get install -y net-tools \ | |
| # For libkrb5-dev | ||
| comerr-dev \ | ||
| libgssrpc4 \ | ||
| libkdb5-10 | ||
| libkdb5-10 \ | ||
| libprotobuf-c-dev \ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are these changes required?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. when we upgraded the FRR to 10.0.1, it needs these new packages to compile. |
||
| protobuf-c-compiler | ||
|
|
||
| RUN apt-get install -y -t bullseye-backports iproute2 | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ SHELL = /bin/bash | |
| LIBYANG_URL = https://sonicstorage.blob.core.windows.net/debian/pool/main/liby/libyang | ||
|
|
||
| DSC_FILE = libyang2_$(LIBYANG2_FULLVERSION).dsc | ||
| ORIG_FILE = libyang2_$(LIBYANG2_VERSION).orig.tar.gz | ||
| ORIG_FILE = libyang2_$(LIBYANG2_VERSION).orig.tar.xz | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the file format change expected?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, the file present in repository is libyang2_2.1.148.orig.tar.xz |
||
| DEBIAN_FILE = libyang2_$(LIBYANG2_FULLVERSION).debian.tar.xz | ||
|
|
||
| DSC_FILE_URL = $(LIBYANG_URL)/$(DSC_FILE) | ||
|
|
@@ -26,6 +26,10 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : | |
| dpkg-source -x libyang2_$(LIBYANG2_FULLVERSION).dsc | ||
|
|
||
| pushd libyang2-$(LIBYANG2_VERSION) | ||
| #The package libyang2.1.148 is taken from debian trixie, which only has dpkg-dev version 1.21.22 | ||
| #The bullseye package has dpkg-dev version 1.20.13 | ||
| #The VS package has dpkg-dev version 1.19.8 | ||
| sed -i 's/dpkg-dev (>= 1.22.5)/dpkg-dev (>= 1.19.8)/' debian/control | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is the right way to do it. It changes both for bullseye and bookworm. Can we be specific here so that this change is applicable only for bullseye
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current master branch has been built for bookworm platform. But, I found during compilation that we are compiling FRR for bookworm version of debian, bullseye version and VS platform also. Hence, we need to take care for all 3 versions. |
||
| #sed -i 's/set(LIBYANG_MAJOR_SOVERSION 1)/set(LIBYANG_MAJOR_SOVERSION 2)/' CMakeLists.txt | ||
| #sed -i 's/libyang2/libyang2/' debian/libyang2.install | ||
| # Enable large file support for 32-bit arch | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any particular reason the convention for branch name has changed? Make life easy for future people in figuring out how to go forwards/backwards to older/newer versions of sonic as much as is possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial branch (frr/10.0.1) was created by the FRR convenor. But the branch did not point to the correct FRR10.0.1 commit-id. Later, the branch could not be deleted. Now, they have created a new branch frr-10.0.1, which points to the release commit of frr10.0.1.