diff --git a/rules/docker-dhcp-relay.mk b/rules/docker-dhcp-relay.mk index 968cc700aaa7..a8b33c5bc74c 100644 --- a/rules/docker-dhcp-relay.mk +++ b/rules/docker-dhcp-relay.mk @@ -36,11 +36,13 @@ endif $(DOCKER_DHCP_RELAY)_DEFAULT_FEATURE_STATE_ENABLED = y +ifeq ($(INCLUDE_DHCP_RELAY),y) ifeq ($(INSTALL_DEBUG_TOOLS),y) SONIC_PACKAGES_LOCAL += $(DOCKER_DHCP_RELAY_DBG) else SONIC_PACKAGES_LOCAL += $(DOCKER_DHCP_RELAY) endif +endif $(DOCKER_DHCP_RELAY)_CONTAINER_NAME = dhcp_relay $(DOCKER_DHCP_RELAY)_CONTAINER_PRIVILEGED = true