Skip to content

Fixed some dbg package naming issues#133

Open
linqingxuan wants to merge 3 commits intosonic-net:mainfrom
linqingxuan:fix-dbg-naming-issues
Open

Fixed some dbg package naming issues#133
linqingxuan wants to merge 3 commits intosonic-net:mainfrom
linqingxuan:fix-dbg-naming-issues

Conversation

@linqingxuan
Copy link
Contributor

Fix LIBSAIREDIS_DBG naming issues
The reference name of LIBSAIREDIS_DBGSYM in other rule files is LIBSAIREDIS_DBG
image

Fix SYNCD_VPP_DBG naming issues
The reference name of SYNCD_VPP_DBGSYM in other rule files is SYNCD_VPP_DBG
image

* Fix LIBSAIREDIS_DBG naming issues

* Fix SYNCD_VPP_DBG naming issues
$(LIBSAIREDIS_DBGSYM)_DEPENDS += $(LIBSAIREDIS)
$(LIBSAIREDIS_DBGSYM)_RDEPENDS += $(LIBSAIREDIS)
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIREDIS_DBGSYM)))
LIBSAIREDIS_DBG = $(LIBSAIREDIS_NAME)-dbgsym_$(LIBSAIREDIS_VERSION)_$(CONFIGURED_ARCH).deb

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to make consistent naming across the code, I'd suggest to also rename swss-dbg_1.0.0_amd64.deb to swss-dbgsym_1.0.0_amd64.deb

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean to add "sym" to the reference? I have considered this, but I have seen that the official designs of different platforms all remove "sym". I suggest that we gradually remove sym in the makefile, so that it will be easier to follow up the community version upgrade later.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under impression that it is the other way.
I've looked at the rules directory and there most of the packages using dbgsym, and most of the "dbg" usage is by dockers.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So a better way is to change it to use dbgsym naming, I will submit the modification next time

@linqingxuan
Copy link
Contributor Author

image

linqingxuan and others added 2 commits November 6, 2024 10:00
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants