From 4f3c9ca9b03d7a37514cc318e13166ddc191f61e Mon Sep 17 00:00:00 2001 From: André Draszik Date: Tue, 7 Jan 2020 15:29:22 +0000 Subject: python3-jsonrpcserver: allow to use as non-root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This version has some file system permission issues, all the files are readable by the owner only (in the archive from pypi.org). Given all files in the target file system will ultimately be owned by root, this means that this package can only be used by root. Fix the permissions, and hopefully the next version will have the archive fixed. The version has been hard-coded on purpose here so as to remind us to double-check if the _append() is still needed after a version upgrade. Signed-off-by: André Draszik Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb b/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb index 7d464b16c3..ceae6abd8c 100644 --- a/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb @@ -21,3 +21,7 @@ RDEPENDS_${PN} += "\ " BBCLASSEXTEND = "native nativesdk" + +do_install_append() { + chmod 0644 ${D}${PYTHON_SITEPACKAGES_DIR}/jsonrpcserver-4.1.0-py3.7.egg-info/* +} -- cgit v1.2.3-54-g00ecf