From 9a515052152be0cd3266a9715f6a1209b3887d10 Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Fri, 25 Dec 2020 11:29:44 -0800 Subject: [PATCH] [build]: add message for sonic-slave-build print out sonic-slave name and tag Signed-off-by: Guohan Lu --- Makefile.work | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.work b/Makefile.work index ef9b5570ac..f7098711dd 100644 --- a/Makefile.work +++ b/Makefile.work @@ -280,12 +280,14 @@ sonic-build-hooks: sonic-slave-base-build : sonic-build-hooks @$(OVERLAY_MODULE_CHECK) + @echo Checking sonic-slave-base image: $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) @docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \ { echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Building... ; \ $(DOCKER_BASE_BUILD) ; \ scripts/collect_docker_version_files.sh $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) target ; } sonic-slave-build : sonic-slave-base-build + @echo Checking sonic-slave image: $(SLAVE_IMAGE):$(SLAVE_TAG) @docker inspect --type image $(SLAVE_IMAGE):$(SLAVE_TAG) &> /dev/null || \ { echo Image $(SLAVE_IMAGE):$(SLAVE_TAG) not found. Building... ; \ $(DOCKER_BUILD) ; }