]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
insane.bbclass: host-user-contaminated: Correct per package home path
authorAhmed Hossam <Ahmed.Hossam@opensynergy.com>
Wed, 22 Jun 2022 15:28:59 +0000 (17:28 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Jun 2022 23:00:24 +0000 (00:00 +0100)
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>
meta/classes/insane.bbclass

index 9ca84bace9c0c6460660b71dda2fc79ba4087270..6f6dcb3dd501deaab551e6e770512fe69318bce6 100644 (file)
@@ -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