toaster-manual: Fixed note formatting in "Useful Commands"

(From yocto-docs rev: 61e26883ed2c3cb82e7853297222d5b1499788f8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-04-18 15:08:31 -07:00
committed by Richard Purdie
parent 360cb19c41
commit b938aae247

View File

@@ -681,26 +681,27 @@
(e.g. <filename>poky</filename>) at
<filename>bitbake/lib/manage.py</filename>.
This section documents those commands.
<note>
<para>
When using <filename>manage.py</filename> commands given
a default configuration, you must be sure that your
working directory is set to the
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>.
Using <filename>manage.py</filename> commands from the
Build Directory allows Toaster to find the
<filename>toaster.sqlite</filename> file, which is located
in the Build Directory.
</para>
<para>
For non-default database configurations, it is possible
that you can use <filename>manage.py</filename> commands
from a directory other than the Build directory.
To do so, the
<filename>toastermain/settings.py</filename> file must be
configured to point to the correct database backend.
</para>
<note><title>Notes</title>
<itemizedlist>
<listitem><para>
When using <filename>manage.py</filename> commands given
a default configuration, you must be sure that your
working directory is set to the
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>.
Using <filename>manage.py</filename> commands from the
Build Directory allows Toaster to find the
<filename>toaster.sqlite</filename> file, which is located
in the Build Directory.
</para></listitem>
<listitem><para>
For non-default database configurations, it is possible
that you can use <filename>manage.py</filename> commands
from a directory other than the Build Directory.
To do so, the
<filename>toastermain/settings.py</filename> file must be
configured to point to the correct database backend.
</para></listitem>
</itemizedlist>
</note>
</para>