From b75caf4a985e3c20996531785125eaffdc832104 Mon Sep 17 00:00:00 2001 From: Ahmed Hossam Date: Wed, 22 Jun 2022 17:28:59 +0200 Subject: 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 --- meta/classes/insane.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index eb19425652..77a2039738 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 -- cgit 1.2.3-korg