Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6DD76E00B56; Fri, 6 Nov 2015 04:25:57 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 25AA3E00B43 for ; Fri, 6 Nov 2015 04:25:53 -0800 (PST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 06 Nov 2015 04:25:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,252,1444719600"; d="scan'208";a="679679294" Received: from unknown (HELO bbarrosp-mac03.local.com) ([10.252.1.238]) by orsmga003.jf.intel.com with ESMTP; 06 Nov 2015 04:25:50 -0800 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Fri, 6 Nov 2015 12:25:48 +0000 Message-Id: <1446812748-2018-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 2.4.9 (Apple Git-60) Subject: [PATCH] toaster: Improve messaging when conf file not found X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 12:25:57 -0000 From: Belen Barros Pena If the toasterconf.json file specified in TOASTER_CONF does not exist, you get a message asking you to set TOASTER_CONF to the path of a valid configuration file. The message, however, doesn't tell you where to set TOASTER_CONF. Specify that you set TOASTER_CONF in the bitbake/bin/toaster script to save people the proverbial grepping. Signed-off-by: Belen Barros Pena --- bitbake/bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 2c3432c..db02bc3 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster @@ -200,7 +200,7 @@ if [ "$TOASTER_CONF" = "" ]; then export TOASTER_CONF=$(python -c "import os; print os.path.realpath('$TOASTER_CONF')") fi if [ ! -f $TOASTER_CONF ]; then - echo "$TOASTER_CONF configuration file not found. set TOASTER_CONF to specify a path" + echo "$TOASTER_CONF configuration file not found. Set the TOASTER_CONF variable in the \"bitbake/bin/toaster\" script to specify the path to a Toaster configuration file." [ "$TOASTER_MANAGED" = '1' ] && exit 1 || return 1 fi # this defines the dir toaster will use for -- 2.4.9 (Apple Git-60)