]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: bitbake: toaster: allow OE_ROOT to be provided through environment
authorAwais Belal <awais_belal@mentor.com>
Thu, 1 Nov 2018 21:40:15 +0000 (02:40 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Nov 2018 23:08:55 +0000 (23:08 +0000)
commit1bdd416102aaf9093e64c6e4f1e762bb4b115a43
tree8f4f98b6984107a963b9daa191b2af4e45906f5f
parenta042179a784bab6a6f4bd5d63db80c1c02624b1c
bitbake: bitbake: toaster: allow OE_ROOT to be provided through environment

Updates for YOCTO #12891 allowed a user to have a directory
structure different to that of yocto (bitbake isn't inside
oe-core) whereas the definition of OE_ROOT in the main toaster
binary still assumes the same while checking for .templateconf
and hence we see an error on the cmdline in such cases:
bash: <repo-path>/bitbake/bin/../../.templateconf: No such file or directory
The change here now allows the user to provide OE_ROOT through
the environment in such cases and otherwise defaults to the older
mechanism to fix this issue.

(Bitbake rev: 9cc6fe4be797e106899d2448797a4b3af8eace4e)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/toaster