From: Alexander Kanavin <[email protected]> This prevented package_qa sstate from being reusable unless host uid/gid values would match exactly (and they unfortunately do on the yocto autobuilder worker machines which all share a 'pokybuild' user).
I noticed this when testing CDN sstate reuse, which otherwise works well. Signed-off-by: Alexander Kanavin <[email protected]> --- meta/classes-global/insane.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 866cef65260..fc4ca84b35b 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -1066,6 +1066,7 @@ def package_qa_check_host_user(path, name, d, elf): check_gid = int(d.getVar('HOST_USER_GID')) if stat.st_gid == check_gid: oe.qa.handle_error("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), d) +package_qa_check_host_user[vardepsexclude] = "HOST_USER_UID HOST_USER_GID" QARECIPETEST[unhandled-features-check] = "package_qa_check_unhandled_features_check" def package_qa_check_unhandled_features_check(pn, d): -- 2.39.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#211877): https://lists.openembedded.org/g/openembedded-core/message/211877 Mute This Topic: https://lists.openembedded.org/mt/111375722/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
