Browse code

Merge "Fix missing libffi-devel for python-glanceclient"

Jenkins authored on 2014/02/26 08:32:36
Showing 3 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 gcc
2
-libffi-dev          # testonly
2
+libffi-dev
3 3
 libmysqlclient-dev  # testonly
4 4
 libpq-dev           # testonly
5 5
 libssl-dev          # testonly
... ...
@@ -1,5 +1,5 @@
1 1
 gcc
2
-libffi-devel        # testonly
2
+libffi-devel
3 3
 libxml2-devel       # testonly
4 4
 libxslt-devel       # testonly
5 5
 mysql-devel         # testonly
... ...
@@ -98,6 +98,10 @@ if [[ $DISTRO =~ (rhel6) ]]; then
98 98
         sudo setenforce 0
99 99
     fi
100 100
 
101
+    # make sure we have the "optional" repo enabled; it provides some
102
+    # packages like libffi-devel for example
103
+    sudo yum-config-manager --enable rhel-6-server-optional-rpms
104
+
101 105
     # If the ``dbus`` package was installed by DevStack dependencies the
102 106
     # uuid may not be generated because the service was never started (PR#598200),
103 107
     # causing Nova to stop later on complaining that ``/var/lib/dbus/machine-id``