summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Hossam <Ahmed.Hossam@opensynergy.com>2022-06-22 17:28:59 +0200
committerSteve Sakoman <steve@sakoman.com>2022-07-01 06:23:58 -1000
commit3aaf9708be7b7ce67513af4e332733ea58403517 (patch)
tree1a8481e09a5604a4fcac86c9b740734c5449d6f3
parent3f8a49c4f276c65ccec149e3dc2e06d74c3c5a80 (diff)
downloadopenembedded-core-contrib-3aaf9708be7b7ce67513af4e332733ea58403517.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> (cherry picked from commit ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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