From: Ahmed Hossam Date: Wed, 22 Jun 2022 15:28:59 +0000 (+0200) Subject: insane.bbclass: host-user-contaminated: Correct per package home path X-Git-Tag: 2020-04.18-dunfell~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b75caf4a985e3c20996531785125eaffdc832104;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git insane.bbclass: host-user-contaminated: Correct per package home path The current home path that is compared against is incorrect as it is missing the package name, this patch adds it. [YOCTO #14553] Signed-off-by: Ahmed Hossam Signed-off-by: Luca Ceresoli (cherry picked from commit ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a) Signed-off-by: Steve Sakoman --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index eb194256522..77a2039738f 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -945,7 +945,7 @@ def package_qa_check_host_user(path, name, d, elf, messages): dest = d.getVar('PKGDEST') pn = d.getVar('PN') - home = os.path.join(dest, 'home') + home = os.path.join(dest, name, 'home') if path == home or path.startswith(home + os.sep): return