diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2017-11-22 11:08:44 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-11-27 10:39:51 -0500 |
| commit | 11295124b1e899d369ca53235626c2484cf65e37 (patch) | |
| tree | db048cacb7f726b9db4e95ea63aa585affc11de2 /meta-openstack/recipes-devtools | |
| parent | 63dacc37cabf9bbb325956c577591ca5db52118d (diff) | |
| download | meta-cloud-services-11295124b1e899d369ca53235626c2484cf65e37.tar.gz | |
python-*: Set permissive perms
Keystone will fail with permission denied if we don't set more
permissive permissions for the PGK-INFO files in these packages.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools')
3 files changed, 11 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-happybase_1.1.0.bb b/meta-openstack/recipes-devtools/python/python-happybase_1.1.0.bb index 7b3c7d8..0981c27 100644 --- a/meta-openstack/recipes-devtools/python/python-happybase_1.1.0.bb +++ b/meta-openstack/recipes-devtools/python/python-happybase_1.1.0.bb | |||
| @@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "e20376e2e32291798d2226502994134c1c4e175136d8375b3c517a234f | |||
| 10 | inherit setuptools pypi | 10 | inherit setuptools pypi |
| 11 | 11 | ||
| 12 | do_install_append() { | 12 | do_install_append() { |
| 13 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"` | 13 | perm_files=$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt") |
| 14 | perm_files="$perm_files "$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "PKG-INFO") | ||
| 14 | for f in $perm_files; do | 15 | for f in $perm_files; do |
| 15 | chmod 644 "${f}" | 16 | chmod 644 "${f}" |
| 16 | done | 17 | done |
diff --git a/meta-openstack/recipes-devtools/python/python-oauth2_1.5.211.bb b/meta-openstack/recipes-devtools/python/python-oauth2_1.5.211.bb index 21a0585..aa04663 100644 --- a/meta-openstack/recipes-devtools/python/python-oauth2_1.5.211.bb +++ b/meta-openstack/recipes-devtools/python/python-oauth2_1.5.211.bb | |||
| @@ -15,3 +15,11 @@ RDEPENDS_${PN} += "python-prettytable \ | |||
| 15 | python-mccabe \ | 15 | python-mccabe \ |
| 16 | python-pep8 \ | 16 | python-pep8 \ |
| 17 | python-pyflakes" | 17 | python-pyflakes" |
| 18 | |||
| 19 | |||
| 20 | do_install_append() { | ||
| 21 | perm_files=$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "PKG-INFO") | ||
| 22 | for f in $perm_files; do | ||
| 23 | chmod 644 "${f}" | ||
| 24 | done | ||
| 25 | } | ||
diff --git a/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb b/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb index fe4560b..3b5d38f 100644 --- a/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb +++ b/meta-openstack/recipes-devtools/python/python-oauthlib_0.7.2.bb | |||
| @@ -21,6 +21,7 @@ RDEPENDS_${PN} += " \ | |||
| 21 | 21 | ||
| 22 | do_install_append() { | 22 | do_install_append() { |
| 23 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt" -o -name "requires.txt"` | 23 | perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt" -o -name "requires.txt"` |
| 24 | perm_files="$perm_files "$(find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "PKG-INFO") | ||
| 24 | for f in $perm_files; do | 25 | for f in $perm_files; do |
| 25 | chmod 644 "${f}" | 26 | chmod 644 "${f}" |
| 26 | done | 27 | done |
