]> code.ossystems Code Review - openembedded-core.git/commitdiff
perf: Fix linux-tools to ensure perf is installed under "fakeroot"
authorMark Hatle <mark.hatle@windriver.com>
Mon, 20 Jun 2011 18:26:06 +0000 (13:26 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2011 11:05:37 +0000 (12:05 +0100)
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@windriver.com>
meta/recipes-kernel/linux/linux-tools.inc

index ef816500940c33c0f2dde2c39749350ed3fbdbd2..e4740d73bb0fb6aea6e229bc84fda19174cadd10 100644 (file)
@@ -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
 }