Fix the following host contamination warnings:
| eth-config: /eth-config/xxx is owned by uid 1000, which is the same as
| the user running bitbake. This may be due to host contamination
| [host-user-contaminated]

Signed-off-by: Zhenhua Luo <[email protected]>
---
 recipes-dpaa/eth-config/eth-config_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-dpaa/eth-config/eth-config_git.bb 
b/recipes-dpaa/eth-config/eth-config_git.bb
index 9e69675..52cc43e 100644
--- a/recipes-dpaa/eth-config/eth-config_git.bb
+++ b/recipes-dpaa/eth-config/eth-config_git.bb
@@ -14,6 +14,8 @@ EXTRA_OEMAKE = "D=${D}"
 
 do_install() {
     oe_runmake install
+
+    chown -R root:root ${D}
 }
 
 CLEANBROKEN = "1"
-- 
2.4.11

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to