summaryrefslogtreecommitdiffstats
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-18 09:05:27 +0100
commit94d280f6526b909151567acb2564b00eed0ce43e (patch)
tree33c290561b03b615053394f310d6a43dee3b3cb7
parent3323c3f5467b3e1b94611d5e8eb5cf4866aa386d (diff)
downloadpoky-94d280f6526b909151567acb2564b00eed0ce43e.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. (From OE-Core rev: c842d8b07b5c172a406f741881608d857549000e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
30do_install_append() { 30do_install_append() {
31 rmdir ${D}${datadir}/mkelfImage/elf32-i386 31 rmdir ${D}${datadir}/mkelfImage/elf32-i386
32 rmdir ${D}${datadir}/mkelfImage 32 rmdir ${D}${datadir}/mkelfImage
33 chown root:root ${D}/${sbindir}/mkelfImage
33} 34}
34 35
35BBCLASSEXTEND = "native" 36BBCLASSEXTEND = "native"