]> code.ossystems Code Review - openembedded-core.git/commit
utils: Avoid need to relocate wrapper scripts
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2017 23:08:11 +0000 (23:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 23:47:27 +0000 (23:47 +0000)
commit3e02a7cda0ba70e3f9886c5cce37d71361280b11
tree483d646c65975600c6d9be8ba312e44b6d2bbeb5
parent877732406cad2ee4bf11293dc8ccddc2998ffbaf
utils: Avoid need to relocate wrapper scripts

Whilst the path to the executable is dynamically determined, the passed in
environment variables or parameters are not relocatable and rely on the sstate
remapping code. In the recipe specific sysroot case this has become more costly.

This patch translates such paths into relocatable entries which means that
a sed replacement at final installation isn't needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utils.bbclass