[oe-commits] [meta-openembedded] 12/17: python3-jsonrpcserver: allow to use as non-root

git at git.openembedded.org git at git.openembedded.org
Wed Jan 8 01:54:25 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 43eb5207f2e0092dc9753737931e27c244fe031b
Author: André Draszik <git at andred.net>
AuthorDate: Tue Jan 7 15:29:22 2020 +0000

    python3-jsonrpcserver: allow to use as non-root
    
    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 <git at andred.net>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

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 7d464b1..ceae6ab 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/*
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list