-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[slave.mk]: remove updategraph.service generation in slave.mk #3153
Conversation
* removes updategraph.service after build is finished Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
@theasianpianist:Please add more to the description to explain why this change is necessary. Thanks! |
Do we even need to generate updategraph.service here? Is the resulting file used anywhere? It is also generated in https://github.com/Azure/sonic-buildimage/blob/master/files/build_templates/sonic_debian_extension.j2#L198. |
* make tabs consistent between lines Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
Actually now that you mention it I'm not sure how it got generated in the main directory in the first place, there's no rule for it or anything. I'm not sure how it got put there on my system, I'll have to take a further look |
It's generated on line 647 above (https://github.com/Azure/sonic-buildimage/pull/3153/files/79befc306b83f8465f60f1187dc11d81e4f302da#diff-54252fe595f09e268f275810298a4beeL647). Not sure if this is necessary... |
You're right, I don't think it is. Looks like sonic_debian_extension.sh places the generate file directly into the image. |
@jleveque should I just remove it from the Makefile altogether? I don't think it'll affect anything but I'll run a test build with it removed to check. |
If you can prove that it is superfluous to generate it in slave.mk (it may be legacy code that didn't get cleaned up), then yes, you can remove it altogether. Just need to make sure that it gets generated, copied and installed properly in sonic_debian_extension.j2. |
* remove updategraph generation in slave.mk Signed-off-by: Lawrence Lee <t-lale@microsoft.com>
Confirmed that the updategraph.service generated in slave.mk is unused and can be removed |
@theasianpianist: Great! Can you also please update the PR title to match the new nature of the change in this PR? |
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.
Please update PR title accordingly.
Retest vs please |
retest vs please |
2 similar comments
retest vs please |
retest vs please |
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.
Tests completed
…atically (#18071) #### Why I did it src/sonic-utilities ``` * a3cf5c02 - (HEAD -> master, origin/master, origin/HEAD) Fix the sfputil treats page number as decimal instead of hexadecimal (#3153) (6 hours ago) [Kebo Liu] * 167f9966 - [Mellanox] Add support of the nvidia-bluefield platform to generate-dump utility. (#3091) (20 hours ago) [Oleksandr Ivantsiv] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (#18081) #### Why I did it src/sonic-utilities ``` * b2125761 - (HEAD -> 202311, origin/202311) [chassis] fix show bgp summary when no neighbors are present on one ASIC (#3158) (2 days ago) [Arvindsrinivasan Lakshmi Narasimhan] * 54595c1e - [202311]Fix the sfputil treats page number as decimal instead of hexadecimal (#3153) (#3160) (5 days ago) [Sudharsan Dhamal Gopalarathnam] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (sonic-net#18071) #### Why I did it src/sonic-utilities ``` * a3cf5c02 - (HEAD -> master, origin/master, origin/HEAD) Fix the sfputil treats page number as decimal instead of hexadecimal (sonic-net#3153) (6 hours ago) [Kebo Liu] * 167f9966 - [Mellanox] Add support of the nvidia-bluefield platform to generate-dump utility. (sonic-net#3091) (20 hours ago) [Oleksandr Ivantsiv] ``` #### How I did it #### How to verify it #### Description for the changelog
…atically (sonic-net#18071) #### Why I did it src/sonic-utilities ``` * a3cf5c02 - (HEAD -> master, origin/master, origin/HEAD) Fix the sfputil treats page number as decimal instead of hexadecimal (sonic-net#3153) (6 hours ago) [Kebo Liu] * 167f9966 - [Mellanox] Add support of the nvidia-bluefield platform to generate-dump utility. (sonic-net#3091) (20 hours ago) [Oleksandr Ivantsiv] ``` #### How I did it #### How to verify it #### Description for the changelog
…lly (#19132) #### Why I did it src/sonic-swss ``` * 98012ed4 - (HEAD -> master, origin/master, origin/HEAD) [build-docker-sonic-vs] Allowing partial build for sairedis (#3177) (3 days ago) [Nikola Dancejic] * 6568193c - Do not apply QoS mapping item on the switch until the object is created (#3163) (3 days ago) [Stephen Sun] * 1876a306 - Revert "Added support for "UNDERLAY_SET_DSCP" and "UNDERLAY_SET_DSCPV6" table…" (#3175) (3 days ago) [Prince Sunny] * 1f12a8db - [subnet decap] Add subnet decap rule based on overlay ECMP (#3153) (3 days ago) [Longxiang Lyu] * 8e8fc66c - [ci] Migrate from sonicbld to sonicbld-1es to fix S360 alert. (#3171) (4 days ago) [Liu Shilong] * 4ae8bfa3 - Read switch_id of fabric switch from config_db (#3102) (4 days ago) [Song Yuan] * f7376636 - Add sai call to isolate/unisolate a fabric port (#3141) (4 days ago) [jfeng-arista] * 7c7cece4 - [Chassis][voq] remote link down ECMP acceleration (#3150) (4 days ago) [Arvindsrinivasan Lakshmi Narasimhan] * c7ecd7db - Add fabric port monitoring toggle check (#3132) (4 days ago) [jfeng-arista] * 9ffbcd58 - Added support for "UNDERLAY_SET_DSCP" and "UNDERLAY_SET_DSCPV6" tables (#3145) (4 days ago) [siqbal1986] * ef9dcdbe - Handle learning duplicate IPs on different VRFs (#3165) (5 days ago) [Lawrence Lee] * cc5a02c4 - [ci] use sonictest instead of sonic-common-test #3170 (6 days ago) [Liu Shilong] ``` #### How I did it #### How to verify it #### Description for the changelog
…lly (sonic-net#19132) #### Why I did it src/sonic-swss ``` * 98012ed4 - (HEAD -> master, origin/master, origin/HEAD) [build-docker-sonic-vs] Allowing partial build for sairedis (sonic-net#3177) (3 days ago) [Nikola Dancejic] * 6568193c - Do not apply QoS mapping item on the switch until the object is created (sonic-net#3163) (3 days ago) [Stephen Sun] * 1876a306 - Revert "Added support for "UNDERLAY_SET_DSCP" and "UNDERLAY_SET_DSCPV6" table…" (sonic-net#3175) (3 days ago) [Prince Sunny] * 1f12a8db - [subnet decap] Add subnet decap rule based on overlay ECMP (sonic-net#3153) (3 days ago) [Longxiang Lyu] * 8e8fc66c - [ci] Migrate from sonicbld to sonicbld-1es to fix S360 alert. (sonic-net#3171) (4 days ago) [Liu Shilong] * 4ae8bfa3 - Read switch_id of fabric switch from config_db (sonic-net#3102) (4 days ago) [Song Yuan] * f7376636 - Add sai call to isolate/unisolate a fabric port (sonic-net#3141) (4 days ago) [jfeng-arista] * 7c7cece4 - [Chassis][voq] remote link down ECMP acceleration (sonic-net#3150) (4 days ago) [Arvindsrinivasan Lakshmi Narasimhan] * c7ecd7db - Add fabric port monitoring toggle check (sonic-net#3132) (4 days ago) [jfeng-arista] * 9ffbcd58 - Added support for "UNDERLAY_SET_DSCP" and "UNDERLAY_SET_DSCPV6" tables (sonic-net#3145) (4 days ago) [siqbal1986] * ef9dcdbe - Handle learning duplicate IPs on different VRFs (sonic-net#3165) (5 days ago) [Lawrence Lee] * cc5a02c4 - [ci] use sonictest instead of sonic-common-test sonic-net#3170 (6 days ago) [Liu Shilong] ``` #### How I did it #### How to verify it #### Description for the changelog
Signed-off-by: Lawrence Lee t-lale@microsoft.com
- What I did
Currently, updategraph.service is created from the template in files/build_templates at build time and placed in the main directory, but this file is unused and not cleaned up after the build finishes. This is redundant since sonic_debian_extension.sh generates and places a copy inside the built image.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)