Skip to contentSkip to conversation

toaster-manual: Improve the explanation of TOASTER_DIR and checksettings

PATCH In review Belen Barros Pena 3 participants 5 messages Feb 2, 2016 – Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster-manual: Improve the explanation of TOASTER_DIR and checksettings

From: Belen Barros Pena <[email protected]>

In section 3.6 of the manual about setting up a production instance of Toaster, explain that TOASTER_DIR determines the location of the build directory, and that the checksettings command configures the build environment for Toaster.

---
 .../toaster-manual-setup-and-use.xml               | 31 ++++++++++++++++++----
 1 file changed, 26 insertions(+), 5 deletions(-)
documentation/toaster-manual/toaster-manual-setup-and-use.xml +26 -5
index 3ac1654..447984f 100644
@@ -328,15 +328,36 @@
 
                         <para>
                             The next line sets the Toaster root directory
-                            <filename>TOASTER_DIR</filename>, and the location of
-                            the Toaster configuration file <filename>TOASTER_CONF</filename>,
-                            relative to the root directory. For more information on the
-                            Toaster configuration file see the
-                            "<link linkend='toaster-json-files'>JSON Files</link>"
+                            <filename>TOASTER_DIR</filename> and the location of
+                            the Toaster configuration file
+                            <filename>TOASTER_CONF</filename>, which is
+                            relative to the Toaster root directory
+                            <filename>TOASTER_DIR</filename>. For more
+                            information on the Toaster configuration file
+                            <filename>TOASTER_CONF</filename> see the
+                            <link linkend='toaster-json-files'>JSON Files</link>
                             section of this manual.
                         </para>
 
                         <para>
+                            This line also runs the <filename>checksettings</filename>
+                            command, which configures the location of the Toaster
+                            <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build directory</ulink>.
+                            The Toaster root directory <filename>TOASTER_DIR</filename>
+                            determines where the Toaster build directory
+                            is created on the file system. In the example above,
+                            <filename>TOASTER_DIR</filename> is set to
+                            <literallayout class="monospaced">
+     /var/wwww/toaster/poky
+                            </literallayout>
+                            This means that the Toaster build directory will be
+                            set to
+                            <literallayout class="monospaced">
+     /var/www/toaster/poky/build
+                            </literallayout>
+                        </para>
+
+                        <para>
                             Finally, the <filename>collectstatic</filename> command
                             is a Django framework command that collects all the
                             statically served files into a designated directory to
Signature · 1 line
2.5.4 (Apple Git-61)
#1 lore raw

Patch applied to version 2.1 of the Toaster Manual. See
http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#toaster-installation-steps
for the changes.

Scott

Quoted 84 lines · Belen Barros Pena

From: Belen Barros Pena <[email protected]>

In section 3.6 of the manual about setting up a production instance of Toaster, explain that TOASTER_DIR determines the location of the build directory, and that the checksettings command configures the build environment for Toaster.

---
 .../toaster-manual-setup-and-use.xml               | 31
++++++++++++++++++----
 1 file changed, 26 insertions(+), 5 deletions(-)
documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -1
index 3ac1654..447984f 100644
@@ -328,15 +328,36 @@
 
                         <para>
                             The next line sets the Toaster root directory
-                            <filename>TOASTER_DIR</filename>, and the

location of
- the Toaster configuration file
<filename>TOASTER_CONF</filename>,
- relative to the root directory. For more
information on the

documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -2
-                            Toaster configuration file see the
-                            "<link linkend='toaster-json-files'>JSON

Files</link>"
+ <filename>TOASTER_DIR</filename> and the
location of

documentation/toaster-manual/toaster-manual-setup-and-use.xml +7 -0
+                            the Toaster configuration file
+                            <filename>TOASTER_CONF</filename>, which is
+                            relative to the Toaster root directory
+                            <filename>TOASTER_DIR</filename>. For more
+                            information on the Toaster configuration file
+                            <filename>TOASTER_CONF</filename> see the
+                            <link linkend='toaster-json-files'>JSON

Files</link>

                             section of this manual.
                         </para>

                         <para>

+ This line also runs the
<filename>checksettings</filename>
+ command, which configures the location of the
Toaster
+ <ulink
url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build directory</ulink>.
+ The Toaster root directory
<filename>TOASTER_DIR</filename>

documentation/toaster-manual/toaster-manual-setup-and-use.xml +2 -0
+                            determines where the Toaster build directory
+                            is created on the file system. In the example

above,

documentation/toaster-manual/toaster-manual-setup-and-use.xml +5 -0
+                            <filename>TOASTER_DIR</filename> is set to
+                            <literallayout class="monospaced">
+     /var/wwww/toaster/poky
+                            </literallayout>
+                            This means that the Toaster build directory

will be

documentation/toaster-manual/toaster-manual-setup-and-use.xml +7 -0
+                            set to
+                            <literallayout class="monospaced">
+     /var/www/toaster/poky/build
+                            </literallayout>
+                        </para>
+
+                        <para>
                             Finally, the

<filename>collectstatic</filename> command
is a Django framework command that collects
all the
statically served files into a designated
directory to
--
2.5.4 (Apple Git-61)

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#2 lore raw
Quoted 1 line · On 03/02/2016 00:34, "[email protected] on behalf of Scott…

Patch applied to version 2.1 of the Toaster Manual.

Thanks Scott! This also applies to the 2.0 manual. Any chance it could be applied to that one as well? Apologies, I should probably have mentioned this when I submitted the patch.

Cheers

Belén

Quoted 102 lines

See
http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#to
aster-installation-steps
<http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#t
oaster-installation-steps> for the changes.

Scott

On Tue, Feb 2, 2016 at 9:28 AM, Belen Barros Pena
<[email protected]> wrote:

From: Belen Barros Pena <[email protected]>

In section 3.6 of the manual about setting up a production instance of Toaster, explain that TOASTER_DIR determines the location of the build directory, and that the checksettings command configures the build environment for Toaster.

---
.../toaster-manual-setup-and-use.xml | 31
++++++++++++++++++----

1 file changed, 26 insertions(+), 5 deletions(-)
(quoted diff) +0 -0

a/documentation/toaster-manual/toaster-manual-setup-and-use.xml b/documentation/toaster-manual/toaster-manual-setup-and-use.xml index 3ac1654..447984f 100644

documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -1
@@ -328,15 +328,36 @@
 
                        <para>
                            The next line sets the Toaster root directory
-                            <filename>TOASTER_DIR</filename>, and the

location of
- the Toaster configuration file
<filename>TOASTER_CONF</filename>,
- relative to the root directory. For more
information on the

documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -2
-                            Toaster configuration file see the
-                            "<link linkend='toaster-json-files'>JSON

Files</link>"
+ <filename>TOASTER_DIR</filename> and the
location of

documentation/toaster-manual/toaster-manual-setup-and-use.xml +7 -0
+                            the Toaster configuration file
+                            <filename>TOASTER_CONF</filename>, which is
+                            relative to the Toaster root directory
+                            <filename>TOASTER_DIR</filename>. For more
+                            information on the Toaster configuration file
+                            <filename>TOASTER_CONF</filename> see the
+                            <link linkend='toaster-json-files'>JSON

Files</link>

                            section of this manual.
                        </para>

                        <para>

+ This line also runs the
<filename>checksettings</filename>
+ command, which configures the location of
the Toaster
+ <ulink
url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build directory</ulink>.
+ The Toaster root directory
<filename>TOASTER_DIR</filename>

documentation/toaster-manual/toaster-manual-setup-and-use.xml +2 -0
+                            determines where the Toaster build directory
+                            is created on the file system. In the

example above,

documentation/toaster-manual/toaster-manual-setup-and-use.xml +5 -0
+                            <filename>TOASTER_DIR</filename> is set to
+                            <literallayout class="monospaced">
+     /var/wwww/toaster/poky
+                            </literallayout>
+                            This means that the Toaster build directory

will be

documentation/toaster-manual/toaster-manual-setup-and-use.xml +7 -0
+                            set to
+                            <literallayout class="monospaced">
+     /var/www/toaster/poky/build
+                            </literallayout>
+                        </para>
+
+                        <para>
                            Finally, the

<filename>collectstatic</filename> command
is a Django framework command that collects
all the
statically served files into a designated
directory to
--
2.5.4 (Apple Git-61)

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#3 lore raw

Belen,

I back-ported this into Jethro. You can see it at
http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#toaster-installation-steps
.

Thanks

Quoted 122 lines · Belen
Quoted 1 line · On 03/02/2016 00:34, "[email protected] on behalf of Scott…

Patch applied to version 2.1 of the Toaster Manual.

Thanks Scott! This also applies to the 2.0 manual. Any chance it could be applied to that one as well? Apologies, I should probably have mentioned this when I submitted the patch.

Cheers

Belén

Quoted 2 lines

See

http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#to

Quoted 2 lines

aster-installation-steps
<

http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#t

Quoted 98 lines

oaster-installation-steps> for the changes.

Scott

On Tue, Feb 2, 2016 at 9:28 AM, Belen Barros Pena
<[email protected]> wrote:

From: Belen Barros Pena <[email protected]>

In section 3.6 of the manual about setting up a production instance of Toaster, explain that TOASTER_DIR determines the location of the build directory, and that the checksettings command configures the build environment for Toaster.

---
.../toaster-manual-setup-and-use.xml | 31
++++++++++++++++++----

1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/documentation/toaster-manual/toaster-manual-setup-and-use.xml b/documentation/toaster-manual/toaster-manual-setup-and-use.xml index 3ac1654..447984f 100644

documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -1
@@ -328,15 +328,36 @@
 
                        <para>
                            The next line sets the Toaster root directory
-                            <filename>TOASTER_DIR</filename>, and the

location of
- the Toaster configuration file
<filename>TOASTER_CONF</filename>,
- relative to the root directory. For more
information on the

documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -2
-                            Toaster configuration file see the
-                            "<link linkend='toaster-json-files'>JSON

Files</link>"
+ <filename>TOASTER_DIR</filename> and the
location of

documentation/toaster-manual/toaster-manual-setup-and-use.xml +7 -0
+                            the Toaster configuration file
+                            <filename>TOASTER_CONF</filename>, which is
+                            relative to the Toaster root directory
+                            <filename>TOASTER_DIR</filename>. For more
+                            information on the Toaster configuration file
+                            <filename>TOASTER_CONF</filename> see the
+                            <link linkend='toaster-json-files'>JSON

Files</link>

                            section of this manual.
                        </para>

                        <para>

+ This line also runs the
<filename>checksettings</filename>
+ command, which configures the location of
the Toaster
+ <ulink
url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build directory</ulink>.
+ The Toaster root directory
<filename>TOASTER_DIR</filename>

documentation/toaster-manual/toaster-manual-setup-and-use.xml +2 -0
+                            determines where the Toaster build directory
+                            is created on the file system. In the

example above,

documentation/toaster-manual/toaster-manual-setup-and-use.xml +5 -0
+                            <filename>TOASTER_DIR</filename> is set to
+                            <literallayout class="monospaced">
+     /var/wwww/toaster/poky
+                            </literallayout>
+                            This means that the Toaster build directory

will be

documentation/toaster-manual/toaster-manual-setup-and-use.xml +7 -0
+                            set to
+                            <literallayout class="monospaced">
+     /var/www/toaster/poky/build
+                            </literallayout>
+                        </para>
+
+                        <para>
                            Finally, the

<filename>collectstatic</filename> command
is a Django framework command that collects
all the
statically served files into a designated
directory to
--
2.5.4 (Apple Git-61)

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#4 lore raw
Quoted 4 lines · Scott Rifenbark

Belen,

I back-ported this into Jethro.

Thanks!

Belén

Quoted 141 lines

You can see it at
http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#to
aster-installation-steps
<http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#t
oaster-installation-steps>.

Thanks

On Wed, Feb 3, 2016 at 12:37 AM, Barros Pena, Belen <[email protected]> wrote:

Quoted 1 line · On 03/02/2016 00:34, "[email protected] on behalf of Scott…

Patch applied to version 2.1 of the Toaster Manual.

Thanks Scott! This also applies to the 2.0 manual. Any chance it could be applied to that one as well? Apologies, I should probably have mentioned this when I submitted the patch.

Cheers

Belén

Quoted 106 lines

See
http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#t
o
aster-installation-steps
<http://www.yoctoproject.org/docs/2.1/toaster-manual/toaster-manual.html#
t
oaster-installation-steps> for the changes.

Scott

On Tue, Feb 2, 2016 at 9:28 AM, Belen Barros Pena
<[email protected]> wrote:

From: Belen Barros Pena <[email protected]>

In section 3.6 of the manual about setting up a production instance of Toaster, explain that TOASTER_DIR determines the location of the build directory, and that the checksettings command configures the build environment for Toaster.

---
.../toaster-manual-setup-and-use.xml | 31
++++++++++++++++++----

1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/documentation/toaster-manual/toaster-manual-setup-and-use.xml b/documentation/toaster-manual/toaster-manual-setup-and-use.xml index 3ac1654..447984f 100644

documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -0
@@ -328,15 +328,36 @@
 
                        <para>
                            The next line sets the Toaster root

directory
- <filename>TOASTER_DIR</filename>, and the
location of
- the Toaster configuration file
<filename>TOASTER_CONF</filename>,
- relative to the root directory. For more
information on the

documentation/toaster-manual/toaster-manual-setup-and-use.xml +0 -2
-                            Toaster configuration file see the
-                            "<link linkend='toaster-json-files'>JSON

Files</link>"
+ <filename>TOASTER_DIR</filename> and the
location of

documentation/toaster-manual/toaster-manual-setup-and-use.xml +5 -0
+                            the Toaster configuration file
+                            <filename>TOASTER_CONF</filename>, which is
+                            relative to the Toaster root directory
+                            <filename>TOASTER_DIR</filename>. For more
+                            information on the Toaster configuration

file

documentation/toaster-manual/toaster-manual-setup-and-use.xml +2 -0
+                            <filename>TOASTER_CONF</filename> see the
+                            <link linkend='toaster-json-files'>JSON

Files</link>

                            section of this manual.
                        </para>

                        <para>

+ This line also runs the
<filename>checksettings</filename>
+ command, which configures the location of
the Toaster
+ <ulink
url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build directory</ulink>.
+ The Toaster root directory
<filename>TOASTER_DIR</filename>

documentation/toaster-manual/toaster-manual-setup-and-use.xml +2 -0
+                            determines where the Toaster build directory
+                            is created on the file system. In the

example above,

documentation/toaster-manual/toaster-manual-setup-and-use.xml +5 -0
+                            <filename>TOASTER_DIR</filename> is set to
+                            <literallayout class="monospaced">
+     /var/wwww/toaster/poky
+                            </literallayout>
+                            This means that the Toaster build directory

will be

documentation/toaster-manual/toaster-manual-setup-and-use.xml +7 -0
+                            set to
+                            <literallayout class="monospaced">
+     /var/www/toaster/poky/build
+                            </literallayout>
+                        </para>
+
+                        <para>
                            Finally, the

<filename>collectstatic</filename> command
is a Django framework command that collects
all the
statically served files into a designated
directory to
--
2.5.4 (Apple Git-61)

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster