diff options
author | Jonathan Liu <net147@gmail.com> | 2015-03-10 11:45:26 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-16 17:42:01 +0000 |
commit | 3cbc509a5f13620ab3fd06a9c71847a23b01a900 (patch) | |
tree | df02e750dcefaa5e5c85d6b5d3e4146f72a14c43 /meta/recipes-kernel | |
parent | c5fd5773e877b9cbd4e07e2aa24f596ba144229f (diff) | |
download | poky-3cbc509a5f13620ab3fd06a9c71847a23b01a900.tar.gz |
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>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index e36de1b812..dd6578861a 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -65,6 +65,8 @@ do_install() { | |||
65 | mkdir -p $kerneldir/arch/powerpc/lib/ | 65 | mkdir -p $kerneldir/arch/powerpc/lib/ |
66 | cp ${B}/arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o | 66 | cp ${B}/arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o |
67 | fi | 67 | fi |
68 | |||
69 | chown -R root:root ${D} | ||
68 | } | 70 | } |
69 | # Ensure we don't race against "make scripts" during cpio | 71 | # Ensure we don't race against "make scripts" during cpio |
70 | do_install[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | 72 | do_install[lockfiles] = "${TMPDIR}/kernel-scripts.lock" |