summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorAhmed Hossam <Ahmed.Hossam@opensynergy.com>2022-06-22 17:28:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-25 00:00:24 +0100
commitae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a (patch)
tree8a4b9218bf94f2f99c51eae083730879a2749800 /meta/classes/insane.bbclass
parente0a4e45e067d9fdb67a7d223aea463f259469035 (diff)
downloadopenembedded-core-ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a.tar.gz
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 <Ahmed.Hossam@opensynergy.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 9ca84bace9..6f6dcb3dd5 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