Browse code

Merge "Pre-install hgtools for RHEL6"

Jenkins authored on 2013/05/05 18:40:20
Showing 1 changed files
... ...
@@ -579,6 +579,17 @@ if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then
579 579
     # Nova stopping later on complaining that
580 580
     # '/var/lib/dbus/machine-id' doesn't exist.
581 581
     sudo service messagebus restart
582
+
583
+    # In setup.py, a "setup_requires" package is supposed to
584
+    # transient.  However there is a bug with rhel6 distribute where
585
+    # setup_requires packages can register entry points that aren't
586
+    # cleared out properly after the setup-phase; the end result is
587
+    # installation failures (bz#924038).  Thus we pre-install the
588
+    # problem package here; this way the setup_requires dependency is
589
+    # already satisfied and it will not need to be installed
590
+    # transiently, meaning we avoid the issue of it not being cleaned
591
+    # out properly.  Note we do this before the track-depends below.
592
+    pip_install hgtools
582 593
 fi
583 594
 
584 595
 TRACK_DEPENDS=${TRACK_DEPENDS:-False}