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] remove 15s sleep in build_debian.sh #16672

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Conversation

k-v1
Copy link
Contributor

@k-v1 k-v1 commented Sep 24, 2023

Why I did it

To speed up final image build.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Remove 15s unconditional sleep.
Instead check every second that /proc is not mounted.
Go to the next step if /proc is not mounted anymore or after 15s.

How to verify it

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

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@k-v1 k-v1 requested a review from lguohan as a code owner September 24, 2023 00:14
@lguohan lguohan merged commit a12b42f into sonic-net:master Sep 28, 2023
@lguohan lguohan added the Build label Sep 28, 2023
Yakiv-Huryk added a commit to Yakiv-Huryk/sonic-buildimage that referenced this pull request Oct 2, 2023
* add more files to RFS_DEB_FILES
* improved umount in build_debian.sh (taken from sonic-net#16672)
* explicit RFS_SPLIT_LAST_STAGE=n when building the first stage

Signed-off-by: Yakiv Huryk <[email protected]>
@k-v1 k-v1 deleted the dont_sleep branch June 24, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants