[oe-commits] [openembedded-core] 02/02: python3: Add hack to do_install for ownership issues

git at git.openembedded.org git at git.openembedded.org
Wed Jan 15 10:12:34 UTC 2020


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

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b97115c88900f02cd598e6ebbadee1ec50b7d6f6
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Jan 14 21:20:15 2020 +0000

    python3: Add hack to do_install for ownership issues
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/python/python3_3.8.1.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/python/python3_3.8.1.bb b/meta/recipes-devtools/python/python3_3.8.1.bb
index a798f98..69f6226 100644
--- a/meta/recipes-devtools/python/python3_3.8.1.bb
+++ b/meta/recipes-devtools/python/python3_3.8.1.bb
@@ -156,6 +156,9 @@ do_install_append() {
                 -e "/^ 'INCLDIRSTOMAKE'/{N; s,/usr/include,${STAGING_INCDIR},g}" \
                 -e "/^ 'INCLUDEPY'/s,/usr/include,${STAGING_INCDIR},g" \
                 ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
+
+        # *.pyc files don't see to always have correct ownership
+        chown root.root ${D}/ -R
 }
 
 do_install_append_class-nativesdk () {

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


More information about the Openembedded-commits mailing list