summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-happybase_0.6.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-02-26 14:19:39 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-02-26 14:19:39 -0500
commit87587c4ddb734d66b3310b6ca946a5e6f7e6d3aa (patch)
treefe0f48f7cc1be1f5cd5b8e5c6e9b3807707550da /meta-openstack/recipes-devtools/python/python-happybase_0.6.bb
parent1a7ac38723059420debad0b9813bbba8095eb895 (diff)
downloadmeta-cloud-services-87587c4ddb734d66b3310b6ca946a5e6f7e6d3aa.tar.gz
nova: update top_level.txt permissions in supporting packages
When starting nova as a non-root user, we need to be able to read the site-packages/egg-info top_level.txt file. These files are sometimes installed as root-read only. To ensure we are always capable of reading them, we'll change them to 644 in the post install rules. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-happybase_0.6.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-happybase_0.6.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-happybase_0.6.bb b/meta-openstack/recipes-devtools/python/python-happybase_0.6.bb
index 0db492b..95ce2ad 100644
--- a/meta-openstack/recipes-devtools/python/python-happybase_0.6.bb
+++ b/meta-openstack/recipes-devtools/python/python-happybase_0.6.bb
@@ -15,3 +15,10 @@ SRC_URI[sha256sum] = "74312a83c7f67d8a362649a822259fcf5983ea9b9e5f2e4e17d6710943
15S = "${WORKDIR}/${SRCNAME}-${PV}" 15S = "${WORKDIR}/${SRCNAME}-${PV}"
16 16
17inherit setuptools 17inherit setuptools
18
19do_install_append() {
20 perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"`
21 for f in $perm_files; do
22 chmod 644 "${f}"
23 done
24} \ No newline at end of file