[meta-freescale] [meta-fsl-ppc][PATCH] eth-config: fix host contamination warnings

Zhenhua Luo zhenhua.luo at nxp.com
Fri May 27 00:33:42 PDT 2016


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 <zhenhua.luo at nxp.com>
---
 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



More information about the meta-freescale mailing list