summaryrefslogtreecommitdiff
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
parent17972b2792c5d686f91f364ee7b2c87ab2a2a10c (diff)
downloadopenembedded-core-c842d8b07b5c172a406f741881608d857549000e.tar.gz
openembedded-core-c842d8b07b5c172a406f741881608d857549000e.tar.bz2
openembedded-core-c842d8b07b5c172a406f741881608d857549000e.zip
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>
-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 2845b8cc3b..e1c33a631b 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"