summaryrefslogtreecommitdiffstats
path: root/meta
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:06:08 +0100
commit24e6bbb90f5b8a4ba1e867b2652cd4a39ffd259d (patch)
tree8ef22c3314592105bb11e7ef2fd2ddbc04f666fa /meta
parentf7a8e22292a7881859e10bc8a941163083918379 (diff)
downloadpoky-24e6bbb90f5b8a4ba1e867b2652cd4a39ffd259d.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: ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a) Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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