mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
684c5d4c12
commit
159a2de146
@@ -945,7 +945,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user