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

[Bug]: fix the version file name issue (#11072) #11415

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

xumia
Copy link
Collaborator

@xumia xumia commented Jul 11, 2022

Why I did it
Cherry pick PR: #11072
[Bug]: fix the version file name issue

Why I did it

[Bug]: fix the version file name issue
Fix the build failure: https://dev.azure.com/mssonic/build/_build/results?buildId=107211&view=results

+ scripts/build_debian_base_system.sh amd64 bullseye ./fsroot-centec
sed: can't read /tmp/tmp.glTzJefV24/version-deb: No such file or directory
Not found host-base-image packages, please check the version files in files/build/versions/host-base-image

How I did it

Change the version-deb, to versions-deb
And add an improvement for host base image build, if the version path not exist, skipped the version control for base image.

How to verify it

https://dev.azure.com/mssonic/build/_build/results?buildId=107587&view=results

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

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

Description for the changelog

Link to config_db schema for YANG module changes

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

Why I did it
[Bug]: fix the version file name issue
@xumia
Copy link
Collaborator Author

xumia commented Jul 11, 2022

Skipping the PR checks, it has dependency on the PR https://github.com/Azure/sonic-buildimage/pull/11411/files

@xumia xumia merged commit 2b086eb into sonic-net:202205 Jul 11, 2022
@xumia xumia deleted the fix-build-error-202205 branch July 11, 2022 11:22
skbarista pushed a commit to skbarista/sonic-buildimage that referenced this pull request Aug 17, 2022
…1415)

Why I did it
Cherry pick PR: sonic-net#11072
[Bug]: fix the version file name issue

Why I did it
[Bug]: fix the version file name issue
Fix the build failure: https://dev.azure.com/mssonic/build/_build/results?buildId=107211&view=results

+ scripts/build_debian_base_system.sh amd64 bullseye ./fsroot-centec
sed: can't read /tmp/tmp.glTzJefV24/version-deb: No such file or directory
Not found host-base-image packages, please check the version files in files/build/versions/host-base-image

How I did it
Change the version-deb, to versions-deb
And add an improvement for host base image build, if the version path not exist, skipped the version control for base image.

How to verify it
https://dev.azure.com/mssonic/build/_build/results?buildId=107587&view=results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants