From 638a863db886ca76502df78c760d08c3457effcc Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Thu, 10 Mar 2016 13:29:10 -0600 Subject: [PATCH] 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 --- elements/os-svc-install/bin/os-svc-install | 2 -- elements/os-svc-install/element-deps | 1 - 2 files changed, 3 deletions(-) diff --git a/elements/os-svc-install/bin/os-svc-install b/elements/os-svc-install/bin/os-svc-install index 51d7b9b29..2bb79a836 100755 --- a/elements/os-svc-install/bin/os-svc-install +++ b/elements/os-svc-install/bin/os-svc-install @@ -53,8 +53,6 @@ function python_install() { done pip install -r $reqs - # FIXME: pip requires doesn't include MySQL-python - pip install MySQL-python fi fi # Always replay this, as we cannot use the entry this would generate in the manifest diff --git a/elements/os-svc-install/element-deps b/elements/os-svc-install/element-deps index 108459b0a..f0a717e2a 100644 --- a/elements/os-svc-install/element-deps +++ b/elements/os-svc-install/element-deps @@ -1,4 +1,3 @@ -mysql-dev pip-and-virtualenv pip-manifest svc-map