]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
dev-manual: Updates to toaster section
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Mon, 28 Oct 2013 16:20:42 +0000 (09:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Nov 2013 17:09:54 +0000 (17:09 +0000)
Fixes [YOCTO #4414]

Some changes to the toaster section according to the updated
toaster wike site and Belen.

(From yocto-docs rev: 1e66b4d377c21fae179826dab5ceb75b9aea1a1b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/dev-manual/dev-manual-common-tasks.xml

index 7a5a375c0e79d7b782f791197bf9e4c5fa1e127d..a4b1c824dcec16ff07188ceedef99ac5fe0c93ca 100644 (file)
             <para>This release of Toaster provides you with information
             about a BitBake run.
             The tool does not allow you to configure and launch a build.
-            Future development includes plans to integrate the data examination
-            features of Toaster with the configuration and build launching
-            capabilities of
+            However, future development includes plans to integrate the
+            configuration and build launching capabilities of
             <ulink url='&YOCTO_HOME_URL;/tools-resources/projects/hob'>Hob</ulink>.
             </para>
             <para>For more information on using Hob to build an image,
                 First, be sure you have met the following requirements:
                 <itemizedlist>
                     <listitem><para>You have set up your
-                        <link linkend='source-directory'>Source Directory</link>.
+                        <link linkend='source-directory'>Source Directory</link>
+                        by cloning the upstream <filename>poky</filename>
+                        repository.
                         See the
                         <link linkend='local-yp-release'>Yocto Project Release</link>
                         item for information on how to set up the Source
                         Directory.</para></listitem>
                     <listitem><para>Be sure your build machine has
                         <ulink url='http://en.wikipedia.org/wiki/Django_%28web_framework%29'>Django</ulink>
-                        version 1.4 or greater installed.</para></listitem>
+                        version 1.4.5 or greater installed.</para></listitem>
+                    <listitem><para>Make sure that port 8000 and 8200 are
+                        free (i.e. they have no servers on them).
+                        </para></listitem>
                 </itemizedlist>
             </para>
 
                 Once you have met the requirements, follow these steps to
                 start Toaster running in the background of your shell:
                 <orderedlist>
-                    <listitem><para>Set up your build environment by sourcing
-                        the <filename>oe-init-build-env</filename> script.
+                    <listitem><para><emphasis>Set up your build environment:</emphasis>
+                        Source a build environment script (i.e.
+                        <filename>oe-init-build-env</filename> or
+                        <filename>oe-init-build-env-memres</filename>).
                         </para></listitem>
-                    <listitem><para>Edit your <filename>local.conf</filename>
-                        configuration file as needed.</para></listitem>
-                    <listitem><para>Start the Toaster service using this
+                    <listitem><para><emphasis>Prepare your local configuration file:</emphasis>
+                        Toaster needs the Toaster class enabled
+                        in Bitbake in order to record target image package
+                        information.
+                        You can enable it by adding the following line to your
+                        <filename>conf/local.conf</filename> file:
+                        <literallayout class='monospaced'>
+     INHERIT += "toaster"
+                        </literallayout>
+                        Toaster also needs Build History enabled in Bitbake in
+                        order to record target image package information.
+                        You can enable this by adding the following two lines
+                        to your <filename>conf/local.conf</filename> file:
+                        <literallayout class='monospaced'>
+     INHERIT += "buildhistory"
+     BUILDHISTORY_COMMIT = "1"
+                        </literallayout></para></listitem>
+                    <listitem><para><emphasis>Start Toaster:</emphasis>
+                        Start the Toaster service using this
                         command from within your build directory:
                         <literallayout class='monospaced'>
      $ source toaster start
                 <itemizedlist>
                     <listitem><para><emphasis><filename>toaster.sqlite</filename>:</emphasis>
                         Toaster's database file.</para></listitem>
-                    <listitem><para><emphasis><filename>tstmain.log</filename>:</emphasis>
-                        Toaster's log file.</para></listitem>
-                    <listitem><para><emphasis><filename>tstmain.pid</filename>:</emphasis>
-                        Contains the PID of the web server.</para></listitem>
-                    <listitem><para><emphasis><filename>dsi.pid</filename>:</emphasis>
-                        Contains the PID of th bridge.</para></listitem>
+                    <listitem><para><emphasis><filename>toaster_web.log</filename>:</emphasis>
+                        The log file of the web server.</para></listitem>
+                    <listitem><para><emphasis><filename>toaster_ui.log</filename>:</emphasis>
+                        The log file of the user interface component.
+                        </para></listitem>
+                    <listitem><para><emphasis><filename>toastermain.pid</filename>:</emphasis>
+                        The PID of the web server.</para></listitem>
+                    <listitem><para><emphasis><filename>toasterui.pid</filename>:</emphasis>
+                        The PID of the DSI data bridge.</para></listitem>
                     <listitem><para><emphasis><filename>bitbake-cookerdaemon.log</filename>:</emphasis>
                         The BitBake server's log file.</para></listitem>
                 </itemizedlist>