[oe-commits] Mark Hatle : perf: Fix linux-tools to ensure perf is installed under " fakeroot"

git version control git at git.openembedded.org
Thu Jun 23 11:07:33 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 805d80eb30fb34b3d2a12b8ba4db8b813ff5c475
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=805d80eb30fb34b3d2a12b8ba4db8b813ff5c475

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Mon Jun 20 13:26:06 2011 -0500

perf: Fix linux-tools to ensure perf is installed under "fakeroot"

If perf isn't installed under "fakeroot" (pseudo) control, all of the files
are given the build user's uid/gid.

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>

---

 meta/recipes-kernel/linux/linux-tools.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
index ef81650..e4740d7 100644
--- a/meta/recipes-kernel/linux/linux-tools.inc
+++ b/meta/recipes-kernel/linux/linux-tools.inc
@@ -10,7 +10,7 @@ do_compile_perf() {
 	oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1
 }
 
-do_install_perf() {
+fakeroot do_install_perf() {
 	oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install NO_NEWT=1 NO_DWARF=1
 }
 





More information about the Openembedded-commits mailing list