]> code.ossystems Code Review - openembedded-core.git/commit
oprofile: Determine the root home directory dynamically
authorChong Lu <Chong.Lu@windriver.com>
Tue, 10 Jun 2014 01:35:12 +0000 (09:35 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Jun 2014 11:31:23 +0000 (12:31 +0100)
commit4fa57b42aa7ec3f77606ab3d3b5814f638c859d5
tree7f37d6c0e53a6b4460c417d791cebe3ddb013598
parent6d1c0cde05dbab5ca84b1bbd8abeecf8df49e37b
oprofile: Determine the root home directory dynamically

This commit detects the root home directory dynamically with changes to
the opcontrol script and the oprofile gui app source.

The commit replaces an earlier fix that detected and adjusted a
'non-standard' root home directory at build time.  The advantage of this
patch is that the oprofile tools are adjusted to the current run-time
path to ~root, not the build time path.

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/oprofile/oprofile.inc
meta/recipes-kernel/oprofile/oprofile/oprofile-root.patch [deleted file]
meta/recipes-kernel/oprofile/oprofile/root-home-dir.patch [new file with mode: 0644]