Install git-review through yum repositories 80/57880/3
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 26 May 2017 01:41:12 +0000 (11:41 +1000)
committerDaniel Farrell <dfarrell@redhat.com>
Sun, 28 May 2017 14:40:53 +0000 (14:40 +0000)
Installing through pip as root on the base image  is not
recommend practice since this could impact other deps.

Change-Id: I12f1a4aa1e129a65af43736879ac46f7fe7c3c81
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
packer/provision/baseline.sh
packer/provision/java-builder.sh

index 723248165b8c2f0c3f1b3df5eb44fa7715e288e8..e0651b01552fa047ffdbeba862ac04c1d50f2a77 100644 (file)
@@ -140,6 +140,8 @@ EOF
     yum install -y haveged
     systemctl enable haveged.service
 
+    # Install git-review
+    yum install -y git-review
 }
 
 ubuntu_systems() {
index ad0ef81e2e242142bc3c5b0475ab17fc02df7f9a..57bcc1227314ab732de45b042158ae1d1377824c 100644 (file)
@@ -19,9 +19,6 @@ yum install -y python34-{devel,virtualenv,setuptools,pip}
 # Install python dependencies, useful generally
 yum install -y python-{devel,virtualenv,setuptools,pip}
 
-# Use pip to install newer version of git-review
-pip install git-review --upgrade
-
 # Needed by autorelease scripts
 yum install -y xmlstarlet