aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mkelfimage
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-09-15 23:08:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-16 21:38:24 +0100
commitc842d8b07b5c172a406f741881608d857549000e (patch)
treef0d3597759a8bf9f82b113a20679874ee39f55b8 /meta/recipes-devtools/mkelfimage
parent17972b2792c5d686f91f364ee7b2c87ab2a2a10c (diff)
downloadopenembedded-core-contrib-c842d8b07b5c172a406f741881608d857549000e.tar.gz
mkelfimage: fix owner for /usr/sbin/mkelfImage
Fixed: packages-split/mkelfimage/usr/sbin/mkelfImage is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] This is because its Makefile uses cp -a to install mkelfImage. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/mkelfimage')
-rw-r--r--meta/recipes-devtools/mkelfimage/mkelfimage_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
index 2845b8cc3b7..e1c33a631be 100644
--- a/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
+++ b/meta/recipes-devtools/mkelfimage/mkelfimage_git.bb
@@ -30,6 +30,7 @@ inherit autotools-brokensep
do_install_append() {
rmdir ${D}${datadir}/mkelfImage/elf32-i386
rmdir ${D}${datadir}/mkelfImage
+ chown root:root ${D}/${sbindir}/mkelfImage
}
BBCLASSEXTEND = "native"