[oe-commits] [meta-openembedded] 10/26: debootstrap: fix host-user-contaminated

git at git.openembedded.org git at git.openembedded.org
Wed Jan 27 11:42:11 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 79d2df777bef0aa64e58723ce2a06169761e8c17
Author: Yi Zhao <yi.zhao at windriver.com>
AuthorDate: Thu Jan 14 16:19:06 2016 +0800

    debootstrap: fix host-user-contaminated
    
    Fix QA warning:
    WARNING: QA Issue: debootstrap: /debootstrap/usr/share/debootstrap/scripts/gutsy 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>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb
index 73dea9b..62b2796 100644
--- a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb
+++ b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.67.bb
@@ -31,4 +31,5 @@ do_compile_prepend() {
 
 do_install() {
     oe_runmake 'DESTDIR=${D}' install
+    chown -R root:root ${D}${datadir}/debootstrap
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list