]> code.ossystems Code Review - openembedded-core.git/commit
git: revert to wrapper based relocation
authorChristopher Larson <kergoth@gmail.com>
Fri, 13 Jun 2014 16:46:41 +0000 (17:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Jun 2014 07:43:40 +0000 (08:43 +0100)
commit85ce11e7b5402cc443adb8007c0e5d01f914fa74
treee5b04e4a9738baf8e8f7785f7306a755aa790cec
parentb44e291a87539fbb8e6da1a16c56f425a417e7bd
git: revert to wrapper based relocation

It seems that there are multiple problems with the upstream RUNTIME_PREFIX
mechanism at this time. It doesn't canonicalize argv[0] to an absolute path,
breaking calls via the PATH, for example. In addition, it doesn't seem to
locate template_dir via the runtime prefix even when specified as relative.

Revert this for now to the previous wrapper-based mechanism, but tweaked
slightly to avoid hardcoding the sysroot path into the wrapper (based on the
bits in the rpm recipe).

[YOCTO #6211]

[Pulled from meta-mentor by RP]

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/git/git.inc