[oe-commits] Chong Lu : oprofile: Determine the root home directory dynamically

git at git.openembedded.org git at git.openembedded.org
Fri Jun 13 11:32:18 UTC 2014


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

Author: Chong Lu <Chong.Lu at windriver.com>
Date:   Tue Jun 10 09:35:12 2014 +0800

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 at windriver.com>
Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-kernel/oprofile/oprofile.inc          |   5 +-
 .../oprofile/oprofile/oprofile-root.patch          | 113 -------------------
 .../oprofile/oprofile/root-home-dir.patch          | 120 +++++++++++++++++++++
 3 files changed, 122 insertions(+), 116 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=4fa57b42aa7ec3f77606ab3d3b5814f638c859d5


More information about the Openembedded-commits mailing list