Patchwork [08/40] perf: Fix linux-tools to ensure perf is installed under "fakeroot" (v3)

login
register
mail settings
Submitter Mark Hatle
Date June 22, 2011, 7:53 p.m.
Message ID <29766bec5eb7b341d0b8ab8b8db58cac38f28a5c.1308770156.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/6341/
State New, archived
Headers show

Comments

Mark Hatle - June 22, 2011, 7:53 p.m.
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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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
 }