-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix prod build Makefile.work #24955
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
base: master
Are you sure you want to change the base?
Fix prod build Makefile.work #24955
Conversation
|
/azp run Azure.sonic-buildimage |
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.
Pull request overview
This PR fixes a build failure in production kernel builds caused by incorrect handling of the SECURE_UPGRADE_PROD_TOOL_ARGS variable. The issue manifested as make command-line parsing problems where quotes were being stripped, resulting in arguments being incorrectly interpreted.
Key Changes:
- Removed problematic quoting of
SECURE_UPGRADE_PROD_TOOL_ARGSfrom the make command line - Added the variable as a Docker environment variable to preserve argument integrity
- Exported the variable to make it available to child processes
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Should be backported to 202511 after Trixie changes are backported. @saiarcot895 FYI |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@tirupatihemanth Can you sync up code with master branch? |
Signed-off-by: Hemanth Kumar Tirupati <htirupati@nvidia.com>
03878cd to
c12c821
Compare
|
@bingwang-ms done |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
c1c8e2f to
c12c821
Compare
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Why I did it
when we check the processes being executed on the slave container we see that the quotes for SECURE_UPGRADE_PROD_TOOL_ARGS are gone and this resulting in the following error
Here is the
psoutput showing the slave.mk process that's being executed.How I did it
Fix Makefile.work to correctly pass SECURE_UPGRADE_PROD_TOOL_ARGS to slave.mk
How to verify it
We shouldn't see the above error when building linux headers package prod build