Skip to content

Commit 5844ab7

Browse files
RyangwaiteCopilot
andauthored
Copy pysairedis artifacts to the target directory (#24473)
* Copy pysairedis artifacts to the target diretory These are not included in the build images but they are availaible in the target directory for the ASIC DB vs ASIC SAI consistency checker defined in https://github.com/sonic-net/sonic-mgmt/tree/master/tests/common/fixtures/consistency_checker to use. Co-authored-by: Copilot <[email protected]>
1 parent 4c0cb95 commit 5844ab7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rules/sairedis.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ $(LIBSAIMETADATA_DBG)_DEPENDS += $(LIBSAIMETADATA)
5151
$(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA)
5252
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG)))
5353

54+
PYTHON3_PYSAIREDIS = python3-pysairedis_$(LIBSAIREDIS_VERSION)_$(CONFIGURED_ARCH).deb
55+
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(PYTHON3_PYSAIREDIS)))
56+
57+
PYTHON3_PYSAIREDIS_DBG = python3-pysairedis-dbgsym_$(LIBSAIREDIS_VERSION)_$(CONFIGURED_ARCH).deb
58+
$(PYTHON3_PYSAIREDIS_DBG)_DEPENDS += $(PYTHON3_PYSAIREDIS)
59+
$(PYTHON3_PYSAIREDIS_DBG)_RDEPENDS += $(PYTHON3_PYSAIREDIS)
60+
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(PYTHON3_PYSAIREDIS_DBG)))
61+
5462
ifeq ($(ENABLE_PY2_MODULES), n)
5563
$(LIBSAIREDIS)_DEB_BUILD_PROFILES += nopython2
5664
endif

0 commit comments

Comments
 (0)