summaryrefslogtreecommitdiffstats
path: root/documentation/toaster-manual/toaster-manual-reference.rst
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-06-26 19:10:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-17 10:09:33 +0100
commit9bd69b1f1d71a9692189beeac75af9dfbad816cc (patch)
tree305347fca899074aed5610e0e82eaec180bf630c /documentation/toaster-manual/toaster-manual-reference.rst
parentc40a8d5904c29046f1cbbeb998e6cd7c24f9b206 (diff)
downloadpoky-9bd69b1f1d71a9692189beeac75af9dfbad816cc.tar.gz
sphinx: initial sphinx support
This commit is autogenerated pandoc to generate an inital set of reST files based on DocBook XML files. A .rst file is generated for each .xml files in all manuals with this command: cd <manual> for i in *.xml; do \ pandoc -f docbook -t rst --shift-heading-level-by=-1 \ $i -o $(basename $i .xml).rst \ done The conversion was done with: pandoc 2.9.2.1-91 (Arch Linux). Also created an initial top level index file for each document, and added all 'books' to the top leve index.rst file. The YP manuals layout is organized as: Book Chapter Section Section Section Sphinx uses section headers to create the document structure. ReStructuredText defines sections headers like that: To break longer text up into sections, you use section headers. These are a single line of text (one or more words) with adornment: an underline alone, or an underline and an overline together, in dashes "-----", equals "======", tildes "~~~~~~" or any of the non-alphanumeric characters = - ` : ' " ~ ^ _ * + # < > that you feel comfortable with. An underline-only adornment is distinct from an overline-and-underline adornment using the same character. The underline/overline must be at least as long as the title text. Be consistent, since all sections marked with the same adornment style are deemed to be at the same level: Let's define the following convention when converting from Docbook: Book => overline === (Title) Chapter => overline *** (1.) Section => ==== (1.1) Section => ---- (1.1.1) Section => ~~~~ (1.1.1.1) Section => ^^^^ (1.1.1.1.1) During the conversion with pandoc, we used --shift-heading-level=-1 to convert most of DocBook headings automatically. However with this setting, the Chapter header was removed, so I added it back manually. Without this setting all headings were off by one, which was more difficult to manually fix. At least with this change, we now have the same TOC with Sphinx and DocBook. (From yocto-docs rev: 3c73d64a476d4423ee4c6808c685fa94d88d7df8) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/toaster-manual/toaster-manual-reference.rst')
-rw-r--r--documentation/toaster-manual/toaster-manual-reference.rst515
1 files changed, 515 insertions, 0 deletions
diff --git a/documentation/toaster-manual/toaster-manual-reference.rst b/documentation/toaster-manual/toaster-manual-reference.rst
new file mode 100644
index 0000000000..bc39903adf
--- /dev/null
+++ b/documentation/toaster-manual/toaster-manual-reference.rst
@@ -0,0 +1,515 @@
1**********************
2Concepts and Reference
3**********************
4
5In order to configure and use Toaster, you should understand some
6concepts and have some basic command reference material available. This
7final chapter provides conceptual information on layer sources,
8releases, and JSON configuration files. Also provided is a quick look at
9some useful ``manage.py`` commands that are Toaster-specific.
10Information on ``manage.py`` commands does exist across the Web and the
11information in this manual by no means attempts to provide a command
12comprehensive reference.
13
14Layer Source
15============
16
17In general, a "layer source" is a source of information about existing
18layers. In particular, we are concerned with layers that you can use
19with the Yocto Project and Toaster. This chapter describes a particular
20type of layer source called a "layer index."
21
22A layer index is a web application that contains information about a set
23of custom layers. A good example of an existing layer index is the
24OpenEmbedded Layer Index. A public instance of this layer index exists
25at ` <http://layers.openembedded.org>`__. You can find the code for this
26layer index's web application at
27` <http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/>`__.
28
29When you tie a layer source into Toaster, it can query the layer source
30through a
31`REST <http://en.wikipedia.org/wiki/Representational_state_transfer>`__
32API, store the information about the layers in the Toaster database, and
33then show the information to users. Users are then able to view that
34information and build layers from Toaster itself without worrying about
35cloning or editing the BitBake layers configuration file
36``bblayers.conf``.
37
38Tying a layer source into Toaster is convenient when you have many
39custom layers that need to be built on a regular basis by a community of
40developers. In fact, Toaster comes pre-configured with the OpenEmbedded
41Metadata Index.
42
43.. note::
44
45 You do not have to use a layer source to use Toaster. Tying into a
46 layer source is optional.
47
48.. _layer-source-using-with-toaster:
49
50Setting Up and Using a Layer Source
51-----------------------------------
52
53To use your own layer source, you need to set up the layer source and
54then tie it into Toaster. This section describes how to tie into a layer
55index in a manner similar to the way Toaster ties into the OpenEmbedded
56Metadata Index.
57
58Understanding Your Layers
59~~~~~~~~~~~~~~~~~~~~~~~~~
60
61The obvious first step for using a layer index is to have several custom
62layers that developers build and access using the Yocto Project on a
63regular basis. This set of layers needs to exist and you need to be
64familiar with where they reside. You will need that information when you
65set up the code for the web application that "hooks" into your set of
66layers.
67
68For general information on layers, see the "`The Yocto Project Layer
69Model <&YOCTO_DOCS_OM_URL;#the-yocto-project-layer-model>`__" section in
70the Yocto Project Overview and Concepts Manual. For information on how
71to create layers, see the "`Understanding and Creating
72Layers <&YOCTO_DOCS_DEV_URL;#understanding-and-creating-layers>`__"
73section in the Yocto Project Development Tasks Manual.
74
75.. _configuring-toaster-to-hook-into-your-layer-source:
76
77Configuring Toaster to Hook Into Your Layer Index
78~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79
80If you want Toaster to use your layer index, you must host the web
81application in a server to which Toaster can connect. You also need to
82give Toaster the information about your layer index. In other words, you
83have to configure Toaster to use your layer index. This section
84describes two methods by which you can configure and use your layer
85index.
86
87In the previous section, the code for the OpenEmbedded Metadata Index
88(i.e. ` <http://layers.openembedded.org>`__) was referenced. You can use
89this code, which is at
90` <http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/>`__, as a
91base to create your own layer index.
92
93Use the Administration Interface
94^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
95
96Access the administration interface through a browser by entering the
97URL of your Toaster instance and adding "``/admin``" to the end of the
98URL. As an example, if you are running Toaster locally, use the
99following URL: http://127.0.0.1:8000/admin
100
101The administration interface has a "Layer sources" section that includes
102an "Add layer source" button. Click that button and provide the required
103information. Make sure you select "layerindex" as the layer source type.
104
105Use the Fixture Feature
106^^^^^^^^^^^^^^^^^^^^^^^
107
108The Django fixture feature overrides the default layer server when you
109use it to specify a custom URL. To use the fixture feature, create (or
110edit) the file ``bitbake/lib/toaster.orm/fixtures/custom.xml``, and then
111set the following Toaster setting to your custom URL: <?xml
112version="1.0" ?> <django-objects version="1.0"> <object
113model="orm.toastersetting" pk="100"> <field name="name"
114type="CharField">CUSTOM_LAYERINDEX_SERVER</field> <field name="value"
115type="CharField">https://layers.my_organization.org/layerindex/branch/master/layers/</field>
116</object> <django-objects> When you start Toaster for the first time, or
117if you delete the file ``toaster.sqlite`` and restart, the database will
118populate cleanly from this layer index server.
119
120Once the information has been updated, verify the new layer information
121is available by using the Toaster web interface. To do that, visit the
122"All compatible layers" page inside a Toaster project. The layers from
123your layer source should be listed there.
124
125If you change the information in your layer index server, refresh the
126Toaster database by running the following command: $
127bitbake/lib/toaster/manage.py lsupdates If Toaster can reach the API
128URL, you should see a message telling you that Toaster is updating the
129layer source information.
130
131.. _toaster-releases:
132
133Releases
134========
135
136When you create a Toaster project using the web interface, you are asked
137to choose a "Release." In the context of Toaster, the term "Release"
138refers to a set of layers and a BitBake version the OpenEmbedded build
139system uses to build something. As shipped, Toaster is pre-configured
140with releases that correspond to Yocto Project release branches.
141However, you can modify, delete, and create new releases according to
142your needs. This section provides some background information on
143releases.
144
145.. _toaster-releases-supported:
146
147Pre-Configured Releases
148-----------------------
149
150As shipped, Toaster is configured to use a specific set of releases. Of
151course, you can always configure Toaster to use any release. For
152example, you might want your project to build against a specific commit
153of any of the "out-of-the-box" releases. Or, you might want your project
154to build against different revisions of OpenEmbedded and BitBake.
155
156As shipped, Toaster is configured to work with the following releases:
157
158- *Yocto Project DISTRO "DISTRO_NAME" or OpenEmbedded "DISTRO_NAME":*
159 This release causes your Toaster projects to build against the head
160 of the DISTRO_NAME_NO_CAP branch at
161 ` <&YOCTO_GIT_URL;/cgit/cgit.cgi/poky/log/?h=rocko>`__ or
162 ` <http://git.openembedded.org/openembedded-core/commit/?h=rocko>`__.
163
164- *Yocto Project "Master" or OpenEmbedded "Master":* This release
165 causes your Toaster Projects to build against the head of the master
166 branch, which is where active development takes place, at
167 ` <&YOCTO_GIT_URL;/cgit/cgit.cgi/poky/log/>`__ or
168 ` <http://git.openembedded.org/openembedded-core/log/>`__.
169
170- *Local Yocto Project or Local OpenEmbedded:* This release causes your
171 Toaster Projects to build against the head of the ``poky`` or
172 ``openembedded-core`` clone you have local to the machine running
173 Toaster.
174
175Configuring Toaster
176===================
177
178In order to use Toaster, you must configure the database with the
179default content. The following subsections describe various aspects of
180Toaster configuration.
181
182Configuring the Workflow
183------------------------
184
185The ``bldcontrol/management/commands/checksettings.py`` file controls
186workflow configuration. The following steps outline the process to
187initially populate this database.
188
1891. The default project settings are set from
190 ``orm/fixtures/settings.xml``.
191
1922. The default project distro and layers are added from
193 ``orm/fixtures/poky.xml`` if poky is installed. If poky is not
194 installed, they are added from ``orm/fixtures/oe-core.xml``.
195
1963. If the ``orm/fixtures/custom.xml`` file exists, then its values are
197 added.
198
1994. The layer index is then scanned and added to the database.
200
201Once these steps complete, Toaster is set up and ready to use.
202
203Customizing Pre-Set Data
204------------------------
205
206The pre-set data for Toaster is easily customizable. You can create the
207``orm/fixtures/custom.xml`` file to customize the values that go into to
208the database. Customization is additive, and can either extend or
209completely replace the existing values.
210
211You use the ``orm/fixtures/custom.xml`` file to change the default
212project settings for the machine, distro, file images, and layers. When
213creating a new project, you can use the file to define the offered
214alternate project release selections. For example, you can add one or
215more additional selections that present custom layer sets or distros,
216and any other local or proprietary content.
217
218Additionally, you can completely disable the content from the
219``oe-core.xml`` and ``poky.xml`` files by defining the section shown
220below in the ``settings.xml`` file. For example, this option is
221particularly useful if your custom configuration defines fewer releases
222or layers than the default fixture files.
223
224The following example sets "name" to "CUSTOM_XML_ONLY" and its value to
225"True". <object model="orm.toastersetting" pk="99"> <field
226type="CharField" name="name">CUSTOM_XML_ONLY</field> <field
227type="CharField" name="value">True</field> </object>
228
229Understanding Fixture File Format
230---------------------------------
231
232The following is an overview of the file format used by the
233``oe-core.xml``, ``poky.xml``, and ``custom.xml`` files.
234
235The following subsections describe each of the sections in the fixture
236files, and outline an example section of the XML code. you can use to
237help understand this information and create a local ``custom.xml`` file.
238
239Defining the Default Distro and Other Values
240~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
241
242This section defines the default distro value for new projects. By
243default, it reserves the first Toaster Setting record "1". The following
244demonstrates how to set the project default value for
245```DISTRO`` <&YOCTO_DOCS_REF_URL;#var-DISTRO>`__: <!-- Set the project
246default value for DISTRO --> <object model="orm.toastersetting" pk="1">
247<field type="CharField" name="name">DEFCONF_DISTRO</field> <field
248type="CharField" name="value">poky</field> </object> You can override
249other default project values by adding additional Toaster Setting
250sections such as any of the settings coming from the ``settings.xml``
251file. Also, you can add custom values that are included in the BitBake
252environment. The "pk" values must be unique. By convention, values that
253set default project values have a "DEFCONF" prefix.
254
255Defining BitBake Version
256~~~~~~~~~~~~~~~~~~~~~~~~
257
258The following defines which version of BitBake is used for the following
259release selection: <!-- Bitbake versions which correspond to the
260metadata release --> <object model="orm.bitbakeversion" pk="1"> <field
261type="CharField" name="name">rocko</field> <field type="CharField"
262name="giturl">git://git.yoctoproject.org/poky</field> <field
263type="CharField" name="branch">rocko</field> <field type="CharField"
264name="dirpath">bitbake</field> </object>
265
266.. _defining-releases:
267
268Defining Release
269~~~~~~~~~~~~~~~~
270
271The following defines the releases when you create a new project. <!--
272Releases available --> <object model="orm.release" pk="1"> <field
273type="CharField" name="name">rocko</field> <field type="CharField"
274name="description">Yocto Project 2.4 "Rocko"</field> <field
275rel="ManyToOneRel" to="orm.bitbakeversion"
276name="bitbake_version">1</field> <field type="CharField"
277name="branch_name">rocko</field> <field type="TextField"
278name="helptext">Toaster will run your builds using the tip of the <a
279href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=rocko">Yocto
280Project Rocko branch</a>.</field> </object> The "pk" value must match
281the above respective BitBake version record.
282
283Defining the Release Default Layer Names
284~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285
286The following defines the default layers for each release: <!-- Default
287project layers for each release --> <object
288model="orm.releasedefaultlayer" pk="1"> <field rel="ManyToOneRel"
289to="orm.release" name="release">1</field> <field type="CharField"
290name="layer_name">openembedded-core</field> </object> The 'pk' values in
291the example above should start at "1" and increment uniquely. You can
292use the same layer name in multiple releases.
293
294Defining Layer Definitions
295~~~~~~~~~~~~~~~~~~~~~~~~~~
296
297Layer definitions are the most complex. The following defines each of
298the layers, and then defines the exact layer version of the layer used
299for each respective release. You must have one ``orm.layer`` entry for
300each layer. Then, with each entry you need a set of
301``orm.layer_version`` entries that connects the layer with each release
302that includes the layer. In general all releases include the layer.
303<object model="orm.layer" pk="1"> <field type="CharField"
304name="name">openembedded-core</field> <field type="CharField"
305name="layer_index_url"></field> <field type="CharField"
306name="vcs_url">git://git.yoctoproject.org/poky</field> <field
307type="CharField"
308name="vcs_web_url">http://git.yoctoproject.org/cgit/cgit.cgi/poky</field>
309<field type="CharField"
310name="vcs_web_tree_base_url">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
311<field type="CharField"
312name="vcs_web_file_base_url">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/%path%?h=%branch%</field>
313</object> <object model="orm.layer_version" pk="1"> <field
314rel="ManyToOneRel" to="orm.layer" name="layer">1</field> <field
315type="IntegerField" name="layer_source">0</field> <field
316rel="ManyToOneRel" to="orm.release" name="release">1</field> <field
317type="CharField" name="branch">rocko</field> <field type="CharField"
318name="dirpath">meta</field> </object> <object model="orm.layer_version"
319pk="2"> <field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
320<field type="IntegerField" name="layer_source">0</field> <field
321rel="ManyToOneRel" to="orm.release" name="release">2</field> <field
322type="CharField" name="branch">HEAD</field> <field type="CharField"
323name="commit">HEAD</field> <field type="CharField"
324name="dirpath">meta</field> </object> <object model="orm.layer_version"
325pk="3"> <field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
326<field type="IntegerField" name="layer_source">0</field> <field
327rel="ManyToOneRel" to="orm.release" name="release">3</field> <field
328type="CharField" name="branch">master</field> <field type="CharField"
329name="dirpath">meta</field> </object> The layer "pk" values above must
330be unique, and typically start at "1". The layer version "pk" values
331must also be unique across all layers, and typically start at "1".
332
333Remote Toaster Monitoring
334=========================
335
336Toaster has an API that allows remote management applications to
337directly query the state of the Toaster server and its builds in a
338machine-to-machine manner. This API uses the
339`REST <http://en.wikipedia.org/wiki/Representational_state_transfer>`__
340interface and the transfer of JSON files. For example, you might monitor
341a build inside a container through well supported known HTTP ports in
342order to easily access a Toaster server inside the container. In this
343example, when you use this direct JSON API, you avoid having web page
344parsing against the display the user sees.
345
346Checking Health
347---------------
348
349Before you use remote Toaster monitoring, you should do a health check.
350To do this, ping the Toaster server using the following call to see if
351it is still alive: http://host:port/health Be sure to provide values for
352host and port. If the server is alive, you will get the response HTML:
353<!DOCTYPE html> <html lang="en"> <head><title>Toaster
354Health</title></head> <body>Ok</body> </html>
355
356Determining Status of Builds in Progress
357----------------------------------------
358
359Sometimes it is useful to determine the status of a build in progress.
360To get the status of pending builds, use the following call:
361http://host:port/toastergui/api/building Be sure to provide values for
362host and port. The output is a JSON file that itemizes all builds in
363progress. This file includes the time in seconds since each respective
364build started as well as the progress of the cloning, parsing, and task
365execution. The following is sample output for a build in progress:
366{"count": 1, "building": [ {"machine": "beaglebone", "seconds":
367"463.869", "task": "927:2384", "distro": "poky", "clone": "1:1", "id":
3682, "start": "2017-09-22T09:31:44.887Z", "name": "20170922093200",
369"parse": "818:818", "project": "my_rocko", "target":
370"core-image-minimal" }] } The JSON data for this query is returned in a
371single line. In the previous example the line has been artificially
372split for readability.
373
374Checking Status of Builds Completed
375-----------------------------------
376
377Once a build is completed, you get the status when you use the following
378call: http://host:port/toastergui/api/builds Be sure to provide values
379for host and port. The output is a JSON file that itemizes all complete
380builds, and includes build summary information. The following is sample
381output for a completed build: {"count": 1, "builds": [ {"distro":
382"poky", "errors": 0, "machine": "beaglebone", "project": "my_rocko",
383"stop": "2017-09-22T09:26:36.017Z", "target": "quilt-native", "seconds":
384"78.193", "outcome": "Succeeded", "id": 1, "start":
385"2017-09-22T09:25:17.824Z", "warnings": 1, "name": "20170922092618" }] }
386The JSON data for this query is returned in a single line. In the
387previous example the line has been artificially split for readability.
388
389Determining Status of a Specific Build
390--------------------------------------
391
392Sometimes it is useful to determine the status of a specific build. To
393get the status of a specific build, use the following call:
394http://host:port/toastergui/api/build/ID Be sure to provide values for
395host, port, and ID. You can find the value for ID from the Builds
396Completed query. See the "`Checking Status of Builds
397Completed <#checking-status-of-builds-completed>`__" section for more
398information.
399
400The output is a JSON file that itemizes the specific build and includes
401build summary information. The following is sample output for a specific
402build: {"build": {"distro": "poky", "errors": 0, "machine":
403"beaglebone", "project": "my_rocko", "stop": "2017-09-22T09:26:36.017Z",
404"target": "quilt-native", "seconds": "78.193", "outcome": "Succeeded",
405"id": 1, "start": "2017-09-22T09:25:17.824Z", "warnings": 1, "name":
406"20170922092618", "cooker_log":
407"/opt/user/poky/build-toaster-2/tmp/log/cooker/beaglebone/build_20170922_022607.991.log"
408} } The JSON data for this query is returned in a single line. In the
409previous example the line has been artificially split for readability.
410
411.. _toaster-useful-commands:
412
413Useful Commands
414===============
415
416In addition to the web user interface and the scripts that start and
417stop Toaster, command-line commands exist through the ``manage.py``
418management script. You can find general documentation on ``manage.py``
419at the
420`Django <https://docs.djangoproject.com/en/1.7/topics/settings/>`__
421site. However, several ``manage.py`` commands have been created that are
422specific to Toaster and are used to control configuration and back-end
423tasks. You can locate these commands in the `Source
424Directory <&YOCTO_DOCS_REF_URL;#source-directory>`__ (e.g. ``poky``) at
425``bitbake/lib/manage.py``. This section documents those commands.
426
427.. note::
428
429 - When using ``manage.py`` commands given a default configuration,
430 you must be sure that your working directory is set to the `Build
431 Directory <&YOCTO_DOCS_REF_URL;#build-directory>`__. Using
432 ``manage.py`` commands from the Build Directory allows Toaster to
433 find the ``toaster.sqlite`` file, which is located in the Build
434 Directory.
435
436 - For non-default database configurations, it is possible that you
437 can use ``manage.py`` commands from a directory other than the
438 Build Directory. To do so, the ``toastermain/settings.py`` file
439 must be configured to point to the correct database backend.
440
441.. _toaster-command-buildslist:
442
443``buildslist``
444--------------
445
446The ``buildslist`` command lists all builds that Toaster has recorded.
447Access the command as follows: $ bitbake/lib/toaster/manage.py
448buildslist The command returns a list, which includes numeric
449identifications, of the builds that Toaster has recorded in the current
450database.
451
452You need to run the ``buildslist`` command first to identify existing
453builds in the database before using the
454```builddelete`` <#toaster-command-builddelete>`__ command. Here is an
455example that assumes default repository and build directory names: $ cd
456~/poky/build $ python ../bitbake/lib/toaster/manage.py buildslist If
457your Toaster database had only one build, the above ``buildslist``
458command would return something like the following: 1: qemux86 poky
459core-image-minimal
460
461.. _toaster-command-builddelete:
462
463``builddelete``
464---------------
465
466The ``builddelete`` command deletes data associated with a build. Access
467the command as follows: $ bitbake/lib/toaster/manage.py builddelete
468build_id The command deletes all the build data for the specified
469build_id. This command is useful for removing old and unused data from
470the database.
471
472Prior to running the ``builddelete`` command, you need to get the ID
473associated with builds by using the
474```buildslist`` <#toaster-command-buildslist>`__ command.
475
476.. _toaster-command-perf:
477
478``perf``
479--------
480
481The ``perf`` command measures Toaster performance. Access the command as
482follows: $ bitbake/lib/toaster/manage.py perf The command is a sanity
483check that returns page loading times in order to identify performance
484problems.
485
486.. _toaster-command-checksettings:
487
488``checksettings``
489-----------------
490
491The ``checksettings`` command verifies existing Toaster settings. Access
492the command as follows: $ bitbake/lib/toaster/manage.py checksettings
493Toaster uses settings that are based on the database to configure the
494building tasks. The ``checksettings`` command verifies that the database
495settings are valid in the sense that they have the minimal information
496needed to start a build.
497
498In order for the ``checksettings`` command to work, the database must be
499correctly set up and not have existing data. To be sure the database is
500ready, you can run the following: $ bitbake/lib/toaster/mana​ge.py
501syncdb $ bitbake/lib/toaster/mana​ge.py migrate orm $
502bitbake/lib/toaster/mana​ge.py migrate bldcontrol After running these
503commands, you can run the ``checksettings`` command.
504
505.. _toaster-command-runbuilds:
506
507``runbuilds``
508-------------
509
510The ``runbuilds`` command launches scheduled builds. Access the command
511as follows: $ bitbake/lib/toaster/manage.py runbuilds The ``runbuilds``
512command checks if scheduled builds exist in the database and then
513launches them per schedule. The command returns after the builds start
514but before they complete. The Toaster Logging Interface records and
515updates the database when the builds complete.