[oe-commits] [openembedded-core] 06/09: Revert "HACK: Intercept broken permissions in build"

git at git.openembedded.org git at git.openembedded.org
Thu Feb 6 12:23:59 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 66bc9488b72f52ab18aeb156f38d66d5b277fcad
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Feb 4 22:26:52 2020 +0000

    Revert "HACK: Intercept broken permissions in build"
    
    This reverts commit 436fdc39c6cca54f615b855d90bd84d22f9528b0.
---
 meta/classes/insane.bbclass | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index bd5b7c3..795c7b9 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -908,8 +908,6 @@ def package_qa_check_host_user(path, name, d, elf, messages):
     if path == home or path.startswith(home + os.sep):
         return
 
-    import stat as stat2
-
     try:
         stat = os.lstat(path)
     except OSError as exc:
@@ -926,9 +924,6 @@ def package_qa_check_host_user(path, name, d, elf, messages):
         if stat.st_gid == check_gid:
             package_qa_add_message(messages, "host-user-contaminated", "%s: %s is owned by gid %d, which is the same as the user running bitbake. This may be due to host contamination" % (pn, package_qa_clean_path(path, d, name), check_gid))
             return False
-        if "/usr/src/debug/tcp-wrappers" in path and "weak_symbols" not in path:
-            if stat2.S_IMODE(stat.st_mode) & stat2.S_IWUSR:
-                bb.error("Fatal perms for %s %s" % (path, stat2.S_IMODE(stat.st_mode)))
     return True
 
 QARECIPETEST[src-uri-bad] = "package_qa_check_src_uri"

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


More information about the Openembedded-commits mailing list