path: root/recipes-devtools
diff options
authorReinette Chatre <>2015-11-20 11:37:51 -0800
committerReinette Chatre <>2015-12-02 16:02:02 -0800
commit2aa356f6ec5c25ed9fb5f7d68b8b669d8be690b1 (patch)
treeec728af0ccf2b0f9aa64c721eaf5280fc74458f7 /recipes-devtools
parentde26cedfa139acbe0d391bed3cb36a079a5b9855 (diff)
iotools: fixup permissions related to host-user-contaminated warning
During build we see following QA warning: WARNING: QA Issue: iotools: /iotools/usr/sbin/iotools is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] This is because the Makefile installs files with "cp -a" which preserves ownership of user running bitbake. We fixup the permissions after installation from Makefile. Signed-off-by: Reinette Chatre <> Acked-by: Darren Hart <>
Diffstat (limited to 'recipes-devtools')
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-devtools/iotools/ b/recipes-devtools/iotools/
index 187dc94..ba6701e 100644
--- a/recipes-devtools/iotools/
+++ b/recipes-devtools/iotools/
@@ -14,4 +14,8 @@ CFLAGS += ' -static -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=5'
do_install () {
install -d ${D}${sbindir}
oe_runmake SBINDIR=${D}${sbindir} install
+ #The Makefile installs files with "cp -a" which preserves ownership
+ #of user running bitbake resulting in QA Issue "host-user-contaminated"
+ #Fixup permissions
+ chown -R root:root ${D}${sbindir}