diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-02-26 14:19:39 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-02-26 14:19:39 -0500 |
| commit | 87587c4ddb734d66b3310b6ca946a5e6f7e6d3aa (patch) | |
| tree | fe0f48f7cc1be1f5cd5b8e5c6e9b3807707550da /meta-openstack/recipes-devtools/python/python-prettytable_0.7.2.bb | |
| parent | 1a7ac38723059420debad0b9813bbba8095eb895 (diff) | |
| download | meta-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-prettytable_0.7.2.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-prettytable_0.7.2.bb | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
| 15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 15 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 16 | 16 | ||
| 17 | inherit setuptools | 17 | inherit setuptools |
| 18 | |||
| 19 | do_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 | ||
