]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Change oz rpm install to use yum
authorJeff Peeler <jpeeler@redhat.com>
Thu, 28 Jun 2012 03:35:32 +0000 (23:35 -0400)
committerJeff Peeler <jpeeler@redhat.com>
Thu, 28 Jun 2012 22:02:18 +0000 (18:02 -0400)
yum localinstall will automatically download needed dependencies.

Change-Id: I0a24c549909ff50062affade014d3a17fc252e4d
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
docs/GettingStarted.rst

index 112132d1800f24e9513e549b9c2ab2b9e94086d5..66f832efda0be405ea242ade26d70f27005bfe52 100644 (file)
@@ -70,13 +70,14 @@ It is recommended to install the latest upstream oz, as this supports Fedora 17
     cd oz
     rm -f ~/rpmbuild/RPMS/noarch/oz-*
     make rpm
-    sudo rpm -Uvh ~/rpmbuild/RPMS/noarch/oz-*
+    sudo yum localinstall -y ~/rpmbuild/RPMS/noarch/oz-*
+    cd -
 
-Note: In the steps above, it's only necessary to be root for the rpm -Uvh, it's recommended not to be root while building the rpm
+Note: In the steps above, it's only necessary to be root for the yum localinstall, it's recommended not to be root while building the rpm.
 
 If you do not require F17/U10/U12 support, oz can be installed directly via yum::
 
-    yum install oz
+  yum install oz
 
 Install heat from source
 ------------------------