summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-02 10:02:39 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-07 17:37:08 +0000
commita3871a37deafd0c2d2e563f36e0d570559483cd8 (patch)
treef2a79b8ca310409547fb042219292652ce97776e /bitbake
parent2a96d35893f2b9444033f6af8de1475f9c0aa974 (diff)
downloadpoky-a3871a37deafd0c2d2e563f36e0d570559483cd8.tar.gz
bitbake: toaster: use parent of the build dir
Assigned TOASTER_DIR to the parent of the build directory. This should fix local controller crash as it assumes that TOASTER_DIR is a root of local poky and tries to clone it. (Bitbake rev: 124eb2bb15de18e4d2d6483c3549e1d887234736) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/toaster2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index 359b23d6a5..de03099a68 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -281,7 +281,7 @@ fi
281# 4) pid's we need to clean up on exit/shutdown 281# 4) pid's we need to clean up on exit/shutdown
282# note: for future. in order to make this an arbitrary directory, we need to 282# note: for future. in order to make this an arbitrary directory, we need to
283# make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does. 283# make sure that the toaster.sqlite file doesn't default to `pwd` like it currently does.
284export TOASTER_DIR=`pwd` 284export TOASTER_DIR=`dirname $BUILDDIR`
285 285
286# Determine the action. If specified by arguments, fine, if not, toggle it 286# Determine the action. If specified by arguments, fine, if not, toggle it
287if [ "$1" = 'start' ] || [ "$1" = 'stop' ]; then 287if [ "$1" = 'start' ] || [ "$1" = 'stop' ]; then