From 87587c4ddb734d66b3310b6ca946a5e6f7e6d3aa Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 26 Feb 2014 14:19:39 -0500 Subject: 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 --- meta-openstack/recipes-devtools/python/python-httplib2_0.8.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-httplib2_0.8.bb') diff --git a/meta-openstack/recipes-devtools/python/python-httplib2_0.8.bb b/meta-openstack/recipes-devtools/python/python-httplib2_0.8.bb index b0eaaab..98fc9a5 100644 --- a/meta-openstack/recipes-devtools/python/python-httplib2_0.8.bb +++ b/meta-openstack/recipes-devtools/python/python-httplib2_0.8.bb @@ -15,3 +15,10 @@ SRC_URI[sha256sum] = "af689bc3cb10a95721eb0d0cf806202a699e7799dacd3497f63b48b2ba S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools + +do_install_append() { + perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"` + for f in $perm_files; do + chmod 644 "${f}" + done +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf