[oe-commits] [meta-openembedded] 05/06: python-prettytable: fix files permissions
git at git.openembedded.org
git at git.openembedded.org
Thu May 4 07:19:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master
in repository meta-openembedded.
commit 1e322de8e68a50a14bb1d4be83912e1a437daf3a
Author: Marc Ferland <ferlandm at amotus.ca>
AuthorDate: Mon May 1 11:32:08 2017 -0400
python-prettytable: fix files permissions
Got this runtime error:
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO'
After some investigation, it looks like the pypi package is the culprit
as almost all the files in the tar.gz are set to 600 instead of 644.
Signed-off-by: Marc Ferland <ferlandm at amotus.ca>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb b/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb
index f63457e..6f4390e 100644
--- a/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb
+++ b/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb
@@ -15,7 +15,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
do_install_append() {
- perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"`
+ perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"`
for f in $perm_files; do
chmod 644 "${f}"
done
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list