]> code.ossystems Code Review - meta-freescale.git/commitdiff
eth-config: fix host contamination warnings
authorZhenhua Luo <zhenhua.luo@nxp.com>
Fri, 3 Jun 2016 07:49:33 +0000 (15:49 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 3 Jun 2016 11:46:44 +0000 (08:46 -0300)
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@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-dpaa/eth-config/eth-config_git.bb

index 9e696750f29d270179dd9db9503679c6acff559a..9269499ff2ba819d7b8fd46f7fc391c6c369dfc7 100644 (file)
@@ -14,6 +14,7 @@ EXTRA_OEMAKE = "D=${D}"
 
 do_install() {
     oe_runmake install
+    chown -R root:root ${D}
 }
 
 CLEANBROKEN = "1"