aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2015-03-10 11:45:26 +1100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:38:41 +0000
commit9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8 (patch)
treeba5586832afbe8b9f9c899cecaf0c37d77cd0fc1
parent8e59d9e2c9c94d8682208ee02a1566864aaf51ff (diff)
downloadopenembedded-core-contrib-9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8.tar.gz
openembedded-core-contrib-9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8.tar.bz2
openembedded-core-contrib-9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8.zip
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. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb2
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 e36de1b812e..dd6578861af 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -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"