-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] Extend rules/config.user to more Makefiles #7344
Conversation
rules/config.user allows overriding default properties without touching tracked files. This change makes sure all properties can be set and not just the ones used in slave.mk. Signed-off-by: Christian Svensson <blue@cmd.nu>
@Staphylo: You did the initial addition of the config.user, what do you say about this addition? |
Not sure why |
That change looks good to me. I actually missed that Regarding the test runs, you'll have to wait for a project owner to restart the failed jobs. |
now there is command like "/azpw run" to re-run the job now. |
Why I did it After PR #7344, 'make init' and/or 'make reset' will also build sonic slave dockers. '-include rules/config.user' is supposed to be fine when the file is missing. However, when the file is missing, it generates a delayed error which later causes make init and make reset trying to build the sonic slave dockers. How I did it Define a do-nothing target for config.user to catch config.user build therefore preventing other builds to be triggered unexpectedly. How to verify it did make init and it is now only doing submodule init.
rules/config.user allows overriding default properties without touching tracked files. This change makes sure all properties can be set and not just the ones used in slave.mk. Signed-off-by: Christian Svensson <blue@cmd.nu>
Why I did it After PR #7344, 'make init' and/or 'make reset' will also build sonic slave dockers. '-include rules/config.user' is supposed to be fine when the file is missing. However, when the file is missing, it generates a delayed error which later causes make init and make reset trying to build the sonic slave dockers. How I did it Define a do-nothing target for config.user to catch config.user build therefore preventing other builds to be triggered unexpectedly. How to verify it did make init and it is now only doing submodule init.
rules/config.user allows overriding default properties without touching tracked files. This change makes sure all properties can be set and not just the ones used in slave.mk. Signed-off-by: Christian Svensson <blue@cmd.nu>
Why I did it After PR sonic-net#7344, 'make init' and/or 'make reset' will also build sonic slave dockers. '-include rules/config.user' is supposed to be fine when the file is missing. However, when the file is missing, it generates a delayed error which later causes make init and make reset trying to build the sonic slave dockers. How I did it Define a do-nothing target for config.user to catch config.user build therefore preventing other builds to be triggered unexpectedly. How to verify it did make init and it is now only doing submodule init.
rules/config.user allows overriding default properties without touching tracked files. This change makes sure all properties can be set and not just the ones used in slave.mk. Signed-off-by: Christian Svensson <blue@cmd.nu>
Why I did it After PR sonic-net#7344, 'make init' and/or 'make reset' will also build sonic slave dockers. '-include rules/config.user' is supposed to be fine when the file is missing. However, when the file is missing, it generates a delayed error which later causes make init and make reset trying to build the sonic slave dockers. How I did it Define a do-nothing target for config.user to catch config.user build therefore preventing other builds to be triggered unexpectedly. How to verify it did make init and it is now only doing submodule init.
rules/config.user allows overriding default properties without
touching tracked files. This change makes sure all properties
can be set and not just the ones used in slave.mk.
Why I did it
I want to set
SONIC_CONFIG_USE_NATIVE_DOCKERD_FOR_BUILD
which is read byMakefile.work
.How I did it
I extended the existing functionality introduced in #5325.
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Extending functionality of
rules/config.user
to include all build options.A picture of a cute animal (not mandatory but encouraged)