Skip to content

Commit

Permalink
use code to copy the file but not manual copy it
Browse files Browse the repository at this point in the history
  • Loading branch information
richardyu-ms committed Dec 29, 2022
1 parent fa0fa0c commit 7c83f68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 336 deletions.
3 changes: 2 additions & 1 deletion platform/broadcom/docker-saiserver-brcm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ $(DOCKER_SAISERVER_BRCM)_PATH = $(PLATFORM_PATH)/docker-saiserver-brcm
$(DOCKER_SAISERVER_BRCM)_DEPENDS += $(SAISERVER)

# Use syncd_init_common.sh to init hardware platform
$(SYNCD_INIT_COMMON_SCRIPT) = syncd_init_common.sh
SYNCD_INIT_COMMON_SCRIPT = syncd_init_common.sh
$(SYNCD_INIT_COMMON_SCRIPT)_PATH = $(SRC_PATH)/sonic-sairedis/syncd/scripts
SONIC_COPY_FILES += $(SYNCD_INIT_COMMON_SCRIPT)

$(DOCKER_SAISERVER_BRCM)_FILES += $(DSSERVE) $(BCMCMD) $(SYNCD_INIT_COMMON_SCRIPT)
$(DOCKER_SAISERVER_BRCM)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BULLSEYE)
Expand Down
2 changes: 1 addition & 1 deletion platform/broadcom/docker-saiserver-brcm/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN apt-get install -yf kmod

COPY ["files/dsserve", "files/bcmcmd", "start.sh", "bcmsh", "/usr/bin/"]
COPY ["saiserver_start.sh", "/usr/bin/"]
COPY ["syncd_init_common.sh", "/usr/bin/"]
COPY ["files/syncd_init_common.sh", "/usr/bin/"]
RUN chmod +x /usr/bin/dsserve /usr/bin/bcmcmd
RUN chmod +x /usr/bin/saiserver_start.sh /usr/bin/syncd_init_common.sh

Expand Down
334 changes: 0 additions & 334 deletions platform/broadcom/docker-saiserver-brcm/syncd_init_common.sh

This file was deleted.

0 comments on commit 7c83f68

Please sign in to comment.