[oe] [meta-oe][PATCH 2/4] espeak: fix host-user-contaminated

Yi Zhao yi.zhao at windriver.com
Thu Jan 14 08:19:07 UTC 2016


Fix QA warning:
WARNING: QA Issue: espeak: /espeak/usr/share/espeak-data/mbrola_ph/de6_phtrans 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: Yi Zhao <yi.zhao at windriver.com>
---
 meta-oe/recipes-support/espeak/espeak_1.37.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/espeak/espeak_1.37.bb b/meta-oe/recipes-support/espeak/espeak_1.37.bb
index 86f2c7a..cf05d26 100644
--- a/meta-oe/recipes-support/espeak/espeak_1.37.bb
+++ b/meta-oe/recipes-support/espeak/espeak_1.37.bb
@@ -40,4 +40,5 @@ do_install() {
     fi
 
     cp -prf ${S}/espeak-data/* ${D}${datadir}/espeak-data
+    chown -R root:root ${D}${datadir}/espeak-data
 }
-- 
1.7.9.5




More information about the Openembedded-devel mailing list