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: lucaceresoli/bug-15201-perf-libtraceevent-missing~3795 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 9ca84bace9c..6f6dcb3dd50 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -970,7 +970,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