[PATCH phosphor-event v3 5/5] build: Print the gcc in the container, not the host

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Feb 18 17:10:27 AEDT 2016


From: Joel Stanley <joel at jms.id.au>

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 .build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.build.sh b/.build.sh
index 83a155b..bfe2e45 100755
--- a/.build.sh
+++ b/.build.sh
@@ -16,9 +16,10 @@ EOF
 docker pull ubuntu:15.10
 docker build -t openbmc/phosphor-event - <<< "${Dockerfile}"
 
-gcc --version
 
 docker run --rm=true --user="${USER}" \
+ -w "${PWD}" -v "${HOME}":"${HOME}" openbmc/phosphor-event gcc --version
+docker run --rm=true --user="${USER}" \
  -w "${PWD}" -v "${HOME}":"${HOME}" openbmc/phosphor-event make
 docker run --rm=true --user="${USER}" \
  -w "${PWD}" -v "${HOME}":"${HOME}" openbmc/phosphor-event make check
-- 
2.7.1




More information about the openbmc mailing list