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-prettytable_0.7.2.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-prettytable_0.7.2.bb') diff --git a/meta-openstack/recipes-devtools/python/python-prettytable_0.7.2.bb b/meta-openstack/recipes-devtools/python/python-prettytable_0.7.2.bb index ccf3e93..5242bfc 100644 --- a/meta-openstack/recipes-devtools/python/python-prettytable_0.7.2.bb +++ b/meta-openstack/recipes-devtools/python/python-prettytable_0.7.2.bb @@ -15,3 +15,10 @@ SRC_URI[sha256sum] = "a53da3b43d7a5c229b5e3ca2892ef982c46b7923b51e98f0db49956531 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