[PATCH phosphor-event v3 4/5] build: Don't run upgrade

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


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

We don't need to do this every time. Pulling the fresh image from docker
should be enough.

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

diff --git a/.build.sh b/.build.sh
index d2e8ea3..83a155b 100755
--- a/.build.sh
+++ b/.build.sh
@@ -4,7 +4,7 @@ set -ex
 
 Dockerfile=$(cat << EOF
 FROM ubuntu:15.10
-RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get upgrade -yy
+RUN DEBIAN_FRONTEND=noninteractive apt-get update
 RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -yy \
 	make gcc g++ libsystemd-dev libc6-dev pkg-config
 RUN groupadd -g ${GROUPS} ${USER} && useradd -d ${HOME} -m -u ${UID} -g ${GROUPS} ${USER}
-- 
2.7.1




More information about the openbmc mailing list