-
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
[buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y #2702
Conversation
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
I don't think all SAI comes with dbg packet available. These SAI open sourced and built with sonic-buildimage will more likely have access to the dbg packet. But not others, e.g. Broadcom SAI doesn't have dbg packet available. You might want to remove this feature from these flavors of SAI. |
@yxieca This change does not install dbg packages for SAI vendor implementation; |
retest this please |
1 similar comment
retest this please |
@renukamanavalan , can you give your comments here? |
@stepanblyschak I see. thanks. |
@@ -9,7 +9,7 @@ debs/{{ deb }}{{' '}} | |||
{%- endfor -%} | |||
debs/ | |||
|
|||
RUN dpkg -P syncd | |||
RUN apt-get remove -y syncd |
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.
Use apt-get purge
?
@@ -9,7 +9,7 @@ debs/{{ deb }}{{' '}} | |||
{%- endfor -%} | |||
debs/ | |||
|
|||
RUN dpkg -P syncd | |||
RUN apt-get remove -y syncd |
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.
The same
@@ -9,7 +9,7 @@ debs/{{ deb }}{{' '}} | |||
{%- endfor -%} | |||
debs/ | |||
|
|||
RUN dpkg -P syncd | |||
RUN apt-get remove -y syncd |
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.
The same
purge is cleaner. |
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
…S=y (sonic-net#2702) * [buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
Signed-off-by: Stepan Blyschak stepanb@mellanox.com
- What I did
Install debug packages when INSTALL_DEBUG_TOOLS=y, the same way as with swss docker image;
- How to verify it
Installed docker syncd(rpc) image on DUT built with SONIC_DEBUGGING_ON=y and INSTALL_DEBUG_TOOLS=y
- Description for the changelog
[buildsystem] Install debug packages in syncd when INSTALL_DEBUG_TOOLS=y
- A picture of a cute animal (not mandatory but encouraged)