summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-07-08 08:27:16 +0100
commit5ef41c8eb0d16d3cbbbff5410d4969f2d61a144d (patch)
tree2dedddac4d58870839a72902afd2592466f130b8 /meta/classes
parent9ef7d8daad18473189eefb521cb211b74b28c349 (diff)
downloadpoky-5ef41c8eb0d16d3cbbbff5410d4969f2d61a144d.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] (From OE-Core rev: 3aaf9708be7b7ce67513af4e332733ea58403517) Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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):
970 970
971 dest = d.getVar('PKGDEST') 971 dest = d.getVar('PKGDEST')
972 pn = d.getVar('PN') 972 pn = d.getVar('PN')
973 home = os.path.join(dest, 'home') 973 home = os.path.join(dest, name, 'home')
974 if path == home or path.startswith(home + os.sep): 974 if path == home or path.startswith(home + os.sep):
975 return 975 return
976 976