Browse Source

Remove mysql-dev dependency from os-svc-install

Looking through the image build logs, I noticed we were pulling in
the mysql-devel packages for some reason.  It turns out this is a
historical artifact of the old TripleO source installs using
os-svc-install.  It was universally installing mysql-python on
every image where it was used because that package wasn't in the
requirements.txt for the OpenStack projects.

This was wrong in the first place, and now that we aren't supporting
that installation method anymore it doesn't make sense to keep
installing nine development packages that we'll never use on our
images.

Note that the only thing we use from os-svc-install now appears to
be os-svc-enable, so this should have no effect on the current
TripleO flow, except slightly smaller/faster image builds.

Change-Id: Iae3e6ae3f57de57639c4259361e82c8150fe2f0e
Ben Nemec 3 years ago
parent
commit
638a863db8

+ 0
- 2
elements/os-svc-install/bin/os-svc-install View File

@@ -53,8 +53,6 @@ function python_install() {
53 53
             done
54 54
 
55 55
             pip install -r $reqs
56
-            # FIXME: pip requires doesn't include MySQL-python
57
-            pip install MySQL-python
58 56
         fi
59 57
     fi
60 58
     # Always replay this, as we cannot use the entry this would generate in the manifest

+ 0
- 1
elements/os-svc-install/element-deps View File

@@ -1,4 +1,3 @@
1
-mysql-dev
2 1
 pip-and-virtualenv
3 2
 pip-manifest
4 3
 svc-map

Loading…
Cancel
Save