Skip to content

Commit

Permalink
Fix the bcmsh issues.
Browse files Browse the repository at this point in the history
-- bcmsh in docker is not executable.
-- bcmsh is not copied to /usr/bin/ at host side
  • Loading branch information
zhenggen-xu committed Jun 1, 2018
1 parent b58a94d commit 7f74ad1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions platform/broadcom/docker-syncd-brcm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ $(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /var/run/docker-syncd:/var/run/sswsyncd
$(DOCKER_SYNCD_BRCM)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro

$(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmcmd:/usr/bin/bcmcmd
$(DOCKER_SYNCD_BRCM)_BASE_IMAGE_FILES += bcmsh:/usr/bin/bcmsh
2 changes: 1 addition & 1 deletion platform/broadcom/docker-syncd-brcm/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ debs/{{ deb }}{{' '}}
RUN apt-get install -f kmod

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

COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]

Expand Down

0 comments on commit 7f74ad1

Please sign in to comment.