Skip to contentSkip to conversation

eth-config: fix host contamination warnings

PATCH New Zhenhua Luo 1 participant 1 message May 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eth-config: fix host contamination warnings

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]
---
 recipes-dpaa/eth-config/eth-config_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-dpaa/eth-config/eth-config_git.bb +2 -0
index 9e69675..52cc43e 100644
@@ -14,6 +14,8 @@ EXTRA_OEMAKE = "D=${D}"
 
 do_install() {
     oe_runmake install
+
+    chown -R root:root ${D}
 }
 
 CLEANBROKEN = "1"
Signature · 1 line
2.4.11