[meta-freescale] [meta-freescale-layer][PATCH 05/12] eth-config: fix host contamination warnings

Zhenhua Luo zhenhua.luo at nxp.com
Fri Jun 3 00:49:33 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb
index 9e69675..9269499 100644
--- a/recipes-dpaa/eth-config/eth-config_git.bb
+++ b/recipes-dpaa/eth-config/eth-config_git.bb
@@ -14,6 +14,7 @@ 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