[Toaster] [PATCH 08/20] toaster: use BBASEDIR to find config
Ed Bartosh
ed.bartosh at linux.intel.com
Sun Oct 11 14:15:45 PDT 2015
Used bitbake variable BBASEDIR to find toasterconf.json
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
bin/toaster | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/bin/toaster b/bin/toaster
index b2e208e..7084e0ff 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -211,8 +211,7 @@ fi
# in the local layers that currently prevent using an arbitrary
# toasterconf.json
if [ "$TOASTER_CONF" = "" ]; then
- BIN_DIR=$(dirname -- "$0")
- export TOASTER_CONF="$BIN_DIR/../../meta-yocto/conf/toasterconf.json"
+ export TOASTER_CONF="$BBBASEDIR/../meta-yocto/conf/toasterconf.json"
fi
if [ ! -f $TOASTER_CONF ]; then
echo "$TOASTER_CONF configuration file not found, exiting..."
--
2.1.4
More information about the toaster
mailing list