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-07-08 08:27:20 +0100
commit159a2de14680e9f0617da98691d6ee5ac6f96875 (patch)
treebef528d347ade83b075e94f81a988cedff4a3b59 /meta/classes/insane.bbclass
parent684c5d4c1281fe564007e29eb189fadd3b664a0b (diff)
downloadpoky-159a2de14680e9f0617da98691d6ee5ac6f96875.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: b75caf4a985e3c20996531785125eaffdc832104) 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/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 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):
945 945
946 dest = d.getVar('PKGDEST') 946 dest = d.getVar('PKGDEST')
947 pn = d.getVar('PN') 947 pn = d.getVar('PN')
948 home = os.path.join(dest, 'home') 948 home = os.path.join(dest, name, 'home')
949 if path == home or path.startswith(home + os.sep): 949 if path == home or path.startswith(home + os.sep):
950 return 950 return
951 951