mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00: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: 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>
This commit is contained in:
committed by
Richard Purdie
parent
f7a8e22292
commit
24e6bbb90f
@@ -970,7 +970,7 @@ def package_qa_check_host_user(path, name, d, elf, messages):
|
|||||||
|
|
||||||
dest = d.getVar('PKGDEST')
|
dest = d.getVar('PKGDEST')
|
||||||
pn = d.getVar('PN')
|
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):
|
if path == home or path.startswith(home + os.sep):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user