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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Yi Zhao 2016-01-14 16:19:06 +08:00 committed by Martin Jansa
parent ab21935a7e
commit 79d2df777b

View File

@ -31,4 +31,5 @@ do_compile_prepend() {
do_install() {
oe_runmake 'DESTDIR=${D}' install
chown -R root:root ${D}${datadir}/debootstrap
}