Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8A6D3E00BEC; Fri, 11 Dec 2015 07:12:59 -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, WEIRD_PORT autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] * 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8A53EE007C9 for ; Fri, 11 Dec 2015 07:12:53 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 11 Dec 2015 07:12:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,414,1444719600"; d="scan'208";a="858854018" Received: from cclanc2-mobl2.ger.corp.intel.com (HELO lp.ger.corp.intel.com) ([10.252.16.100]) by fmsmga001.fm.intel.com with ESMTP; 11 Dec 2015 07:12:44 -0800 From: Elliot Smith To: yocto@yoctoproject.org Date: Fri, 11 Dec 2015 15:12:14 +0000 Message-Id: <1449846734-25088-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 1.9.3 X-Mailman-Approved-At: Mon, 14 Dec 2015 07:36:37 -0800 Subject: [PATCH] toaster-manual: describe the way to start Toaster X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2015 15:12:59 -0000 From: Ed Bartosh Recently the way to start Toaster has been simplified. The only way to start it now is to source toaster script. Builds can be run either from command line or from Toaster web interface. Updated instructions to start toaster according to the changes described above. Signed-off-by: Ed Bartosh Signed-off-by: Elliot Smith --- .../toaster-manual-setup-and-use.xml | 67 +++------------------- 1 file changed, 8 insertions(+), 59 deletions(-) diff --git a/documentation/toaster-manual/toaster-manual-setup-and-use.xml b/documentation/toaster-manual/toaster-manual-setup-and-use.xml index 74c00c4..75aaea8 100644 --- a/documentation/toaster-manual/toaster-manual-setup-and-use.xml +++ b/documentation/toaster-manual/toaster-manual-setup-and-use.xml @@ -17,32 +17,12 @@ - If you want to configure and start your builds using the - Toaster web interface - (i.e. "Build Mode"), - navigate to the root of your + Navigate to the root of your Source Directory (e.g. poky): $ cd poky - Next, start Toaster: - - $ bitbake/bin/toaster - - Open your favourite browser and enter the following: - - http://127.0.0.1:8000 - - If you would rather configure and start your builds - using the command line - (i.e. Analysis Mode), - you can get Toaster to "listen" - to your builds and collect information about them. - To do that, navigate to the root of your Source Directory: - - $ cd poky - Once in that directory, source the build environment script: $ source oe-init-build-env @@ -72,12 +52,7 @@ By default, Toaster starts on port 8000. You can use the WEBPORT parameter to set a different port. - For example, either of the following commands sets the - port to "8400": - - $ bitbake/bin/toaster webport=8400 - - or + For example, the following command sets the port to "8400": $ source ../bitbake/bin/toaster webport=8400 @@ -88,18 +63,10 @@ The Directory for Cloning Layers - If you are running Toaster in - Build Mode, Toaster creates a _toaster_clones directory inside your Source Directory - (i.e. poky). - For example, suppose you use this command to start Toaster: - - poky/bitbake/bin/toaster - - In this example, Toaster creates and uses the - poky/_toaster_clones - directory to clone any layers needed for your builds. + (i.e. poky) to clone any layers + needed for your builds. @@ -117,17 +84,9 @@ The Build Directory - If you are running Toaster in - Build Mode, Toaster creates a build directory within your Source - Directory (e.g. poky). - For example, suppose you use this command to start Toaster: - - poky/bitbake/bin/toaster - - In this example, Toaster creates and uses the - poky/build - directory to execute the builds. + Directory (e.g. poky) to execute + the builds. @@ -136,7 +95,7 @@ the TOASTER_DIR environment variable, which takes precedence over your current working directory. Setting this environment variable causes Toaster to use - $TOASTER_DIR./build as the build directory. + $TOASTER_DIR/build as the build directory. @@ -217,10 +176,7 @@ The production instance is also the setup that can cope with heavier loads on the web service. Use the instructions in the following sections to set up - Toaster in - Build Mode - where builds and projects are run, - viewed, and defined through the Toaster web interface. + Toaster to run builds through the Toaster web interface.
@@ -333,13 +289,6 @@ STATIC_ROOT = '/var/www/toaster/static_files/' - - Enable Build Mode by adding the following - line to settings.py: - - BUILD_MODE=True - - -- 1.9.3 --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.