kernel-devsrc: fix file ownership

The file ownership needs to be explicitly set otherwise it inherits
the user and group id of the build user.

(From OE-Core rev: 9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jonathan Liu 2015-03-10 11:45:26 +11:00 committed by Richard Purdie
parent c5fd5773e8
commit 3cbc509a5f
1 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,8 @@ do_install() {
mkdir -p $kerneldir/arch/powerpc/lib/
cp ${B}/arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
fi
chown -R root:root ${D}
}
# Ensure we don't race against "make scripts" during cpio
do_install[lockfiles] = "${TMPDIR}/kernel-scripts.lock"