Skip to content

Remove unnecessary sudo authority in build Makefile#6237

Merged
qiluo-msft merged 2 commits intosonic-net:masterfrom
xumia:fix_sudo_issue
Dec 19, 2020
Merged

Remove unnecessary sudo authority in build Makefile#6237
qiluo-msft merged 2 commits intosonic-net:masterfrom
xumia:fix_sudo_issue

Conversation

@xumia
Copy link
Copy Markdown
Collaborator

@xumia xumia commented Dec 17, 2020

- Why I did it
In some build machine, it may be not able to run as root during the build, only has root authority in docker containers.

- How I did it
Remove the sudo in Makefile

- How to verify it
cd src/sonic-build-hooks
make all

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

  • 201811
  • 201911
  • 202006

- Description for the changelog

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

@xumia xumia changed the title Remove unnecessary sudo authority Remove unnecessary sudo authority in build Makefile Dec 17, 2020
@xumia xumia added the Build label Dec 17, 2020
@lguohan lguohan requested a review from qiluo-msft December 17, 2020 17:11
qiluo-msft
qiluo-msft previously approved these changes Dec 17, 2020
@xumia
Copy link
Copy Markdown
Collaborator Author

xumia commented Dec 18, 2020

retest vsimage

@xumia
Copy link
Copy Markdown
Collaborator Author

xumia commented Dec 18, 2020

retest vsimage please

@xumia
Copy link
Copy Markdown
Collaborator Author

xumia commented Dec 18, 2020

retest mellanox please

@xumia
Copy link
Copy Markdown
Collaborator Author

xumia commented Dec 18, 2020

retest mellanox please

@xumia
Copy link
Copy Markdown
Collaborator Author

xumia commented Dec 18, 2020

retest vsimage please

@qiluo-msft qiluo-msft merged commit 07b4aaf into sonic-net:master Dec 19, 2020
lguohan added a commit that referenced this pull request Dec 19, 2020
xumia added a commit to xumia/sonic-buildimage-1 that referenced this pull request Dec 20, 2020
xumia added a commit that referenced this pull request Dec 21, 2020
…6255)

* Revert "Revert "Support SONiC Reproduceable Build-debian/pip/web packages (#5718)""

This reverts commit 17497a6.

* Revert "Revert "Remove unnecessary sudo authority in build Makefile (#6237)""

This reverts commit 163b711.
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