diff options
author | Javier Viguera <javier.viguera@digi.com> | 2015-02-17 13:48:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-17 22:35:02 +0000 |
commit | 2ca0339b3969f9754bc7c4e69c49175c8c1287dc (patch) | |
tree | 47415d2533db78deba1fc470c91727cf0e31c936 /meta/classes/meta.bbclass | |
parent | 51bdf3ba5f229f2a6ff60661b82912bb95591381 (diff) | |
download | ast2050-yocto-poky-2ca0339b3969f9754bc7c4e69c49175c8c1287dc.zip ast2050-yocto-poky-2ca0339b3969f9754bc7c4e69c49175c8c1287dc.tar.gz |
utils.bbclass: fix create_cmdline_wrapper
Similar to commit 4569d74 for create_wrapper function, this commit fixes
hardcoded absolute build paths in create_cmdline_wrapper.
Otherwise we end up with incorrect paths in users of this function. For
example the 'file' wrapper in current released toolchain:
exec -a
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-arm/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-file/5.18-r0/image//opt/poky/1.7.1/sysroots/x86_64-pokysdk-linux/usr/bin/file
`dirname $realpath`/file.real --magic-file
/opt/poky/1.7.1/sysroots/x86_64-pokysdk-linux/usr/share/misc/magic.mgc
"$@"
(From OE-Core rev: 49ab89eb9f83388e99069a4b53bdc4cba22bb6f3)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/meta.bbclass')
0 files changed, 0 insertions, 0 deletions