Skip to content

Commit 5b60bd7

Browse files
committed
sonic-config-engine: update dependencies for libyang3
While in theory we shouldn't need to rely on DEBS_DEPENDS for libyang at all since we are only relying on SONIC_YANG_MGMT_PY3, the dependency tracking isn't smart enough to recognize this. Manually pull in the libyang3 packages.
1 parent 80c65f8 commit 5b60bd7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

rules/sonic-config.mk

+3-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ $(SONIC_CONFIG_ENGINE_PY3)_SRC_PATH = $(SRC_PATH)/sonic-config-engine
1616
$(SONIC_CONFIG_ENGINE_PY3)_DEPENDS += $(SONIC_PY_COMMON_PY3) \
1717
$(SONIC_YANG_MGMT_PY3) \
1818
$(SONIC_YANG_MODELS_PY3)
19-
$(SONIC_CONFIG_ENGINE_PY3)_DEBS_DEPENDS += $(LIBYANG) \
20-
$(LIBYANG_CPP) \
21-
$(LIBYANG_PY3) \
22-
$(PYTHON3_SWSSCOMMON)
19+
$(SONIC_CONFIG_ENGINE_PY3)_DEBS_DEPENDS += $(LIBYANG3) \
20+
$(LIBYANG3_PY3) \
21+
$(PYTHON3_SWSSCOMMON)
2322
ifeq ($(ENABLE_PY2_MODULES), y)
2423
# Synthetic dependency to avoid building the Python 2 and 3 packages
2524
# simultaneously and any potential conflicts which may arise

0 commit comments

Comments
 (0)