Skip to content
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

[Build]: Fix host image debian package version issue #10358

Merged
merged 5 commits into from
Mar 29, 2022

Conversation

xumia
Copy link
Collaborator

@xumia xumia commented Mar 27, 2022

Why I did it

Fix host image debian package version issue.
The package dependencies may have issue, when some of debian packages of the base image are upgraded. For example, libc is installed in base image, but if the mirror has new version, when running "apt-get upgrade", the package will be upgraded unexpected. To avoid such issue, need to add the versions when building the host image.

How I did it

The package versions of host-image should contain host-base-image.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@xumia xumia requested a review from liushilongbuaa March 28, 2022 04:43
@xumia xumia marked this pull request as ready for review March 28, 2022 07:26
liushilongbuaa
liushilongbuaa previously approved these changes Mar 28, 2022
@xumia
Copy link
Collaborator Author

xumia commented Mar 29, 2022

By pass the test stage for this PR, it blocks the 202012 branch official build, and there are several submodule builds that have the dependencies.
Justification: it only changes the build options.

@xumia xumia merged commit beead0a into sonic-net:master Mar 29, 2022
@xumia xumia deleted the fix-host-image-version branch March 29, 2022 04:34
xumia added a commit that referenced this pull request Mar 29, 2022
Why I did it
Fix host image debian package version issue.
The package dependencies may have issue, when some of debian packages of the base image are upgraded. For example, libc is installed in base image, but if the mirror has new version, when running "apt-get upgrade", the package will be upgraded unexpected. To avoid such issue, need to add the versions when building the host image.

How I did it
The package versions of host-image should contain host-base-image.
xumia added a commit that referenced this pull request Mar 30, 2022
Why I did it
Fix host image debian package version issue.
The package dependencies may have issue, when some of debian packages of the base image are upgraded. For example, libc is installed in base image, but if the mirror has new version, when running "apt-get upgrade", the package will be upgraded unexpected. To avoid such issue, need to add the versions when building the host image.

How I did it
The package versions of host-image should contain host-base-image.
@xumia xumia added Included in 202111 Branch and removed Request for 202111 Branch For PRs being requested for 202111 branch labels Mar 30, 2022
xumia added a commit to xumia/sonic-buildimage-1 that referenced this pull request Apr 28, 2022
Why I did it
Fix host image debian package version issue.
The package dependencies may have issue, when some of debian packages of the base image are upgraded. For example, libc is installed in base image, but if the mirror has new version, when running "apt-get upgrade", the package will be upgraded unexpected. To avoid such issue, need to add the versions when building the host image.

How I did it
The package versions of host-image should contain host-base-image.
xumia added a commit that referenced this pull request Apr 28, 2022
Why I did it
Fix host image debian package version issue.
The package dependencies may have issue, when some of debian packages of the base image are upgraded. For example, libc is installed in base image, but if the mirror has new version, when running "apt-get upgrade", the package will be upgraded unexpected. To avoid such issue, need to add the versions when building the host image.

How I did it
The package versions of host-image should contain host-base-image.
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.

2 participants