* Changes to the Toaster manual
@ 2015-10-19 11:09 Barros Pena, Belen
2015-10-20 19:06 ` Scott Rifenbark
2015-10-21 16:09 ` Scott Rifenbark
0 siblings, 2 replies; 12+ messages in thread
From: Barros Pena, Belen @ 2015-10-19 11:09 UTC (permalink / raw)
To: Scott Rifenbark; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
I have gone through the list of changes we put together for the Toaster
manual, and most of them are already there. There is only one thing
pending: changing Chapter 3, the one about setting up and using Toaster.
The team has put together some new content for that section as a starting
point. It's here
http://piratepad.nl/YzSI38RuYd
Note that it includes also some changes for section 2.1 (at the very top).
There are 2 gaps in this new content:
1. How to change the default location of the layers checkout directory
2. How to change the default location of the build directory
Brian: do you think you could add the above missing information to the
pad, so that Scott can make the changes to the manual (if he has time)?
Thanks!
Belén
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-19 11:09 Changes to the Toaster manual Barros Pena, Belen
@ 2015-10-20 19:06 ` Scott Rifenbark
2015-10-21 9:44 ` Barros Pena, Belen
2015-10-21 16:09 ` Scott Rifenbark
1 sibling, 1 reply; 12+ messages in thread
From: Scott Rifenbark @ 2015-10-20 19:06 UTC (permalink / raw)
To: Barros Pena, Belen; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]
Hi,
I got the chapter 3 changes roughed in. Can't get to the small chapter 2
change until later. Here is the link to review the chapter 3 stuff -
http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#toaster-manual-setup-and-use
.
Note that I left the section in on using the web interface. I am assuming
that stuff stays.
Let me know of any changes by using this email thread.
Thanks,
Scott
On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen <
belen.barros.pena@intel.com> wrote:
> I have gone through the list of changes we put together for the Toaster
> manual, and most of them are already there. There is only one thing
> pending: changing Chapter 3, the one about setting up and using Toaster.
>
> The team has put together some new content for that section as a starting
> point. It's here
>
> http://piratepad.nl/YzSI38RuYd
>
> Note that it includes also some changes for section 2.1 (at the very top).
>
> There are 2 gaps in this new content:
>
> 1. How to change the default location of the layers checkout directory
> 2. How to change the default location of the build directory
>
> Brian: do you think you could add the above missing information to the
> pad, so that Scott can make the changes to the manual (if he has time)?
>
> Thanks!
>
> Belén
>
>
[-- Attachment #2: Type: text/html, Size: 1963 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-20 19:06 ` Scott Rifenbark
@ 2015-10-21 9:44 ` Barros Pena, Belen
2015-10-21 12:54 ` Barros Pena, Belen
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Barros Pena, Belen @ 2015-10-21 9:44 UTC (permalink / raw)
To: Scott Rifenbark; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
On 20/10/2015 20:06, "Scott Rifenbark" <srifenbark@gmail.com> wrote:
>Hi,
>
>
>I got the chapter 3 changes roughed in. Can't get to the small chapter 2
>change until later. Here is the link to review the chapter 3 stuff -
>
>http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#to
>aster-manual-setup-and-use
><http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#t
>oaster-manual-setup-and-use>.
Thanks for this, Scott. Just a few omments:
* "(e.g. "Build Mode")," > this is not an example, it is one of the
operational modes explained in 1.1. Toaster Operational Modes. We don't
have an anchor to the build mode within that 1.1. Section, but if we could
split it and create one, that 'build mode' string should be a link to the
explanation of the build mode in the operational modes section.
* "to the root of your Toaster source directory:" > I don't think it
should say the 'Toaster source directory'. People didn't clone Toaster:
they cloned / downloaded the 2.0 Yocto Project release. That's the source
directory they need to navigate to. Maybe we should just use "navigate to
the root of your source directory", which you use further down.
* "If you would rather configure and start your builds using the command
line" > maybe we should add here "analysis mode" and link it to the
corresponding explanation in the toaster operational modes section
* Section 3.3 > I think I am missing something. I don't understand what
"execute path_to_poky/bitbake/bin/toaster" is supposed to mean. Maybe
Brian can explain (he wrote that bit). Also, I think the path is wrong.
The _toaster_clones directory is created inside poky
(poky/_toaster_clones) not inside
poky/bitbake/bin/toaster/_toaster_clones. It also says "if you used the
following command to start Toaster", but then no command is shown. Are we
missing the path_to_poky/bitbake/bin/toaster command here?
* Section 3.4 > all the above also applies to this section. The build
directory is inside poky (poky/build) not poky/bitbake/bin/toaster/build.
We are also missing the command you need to execute:
path_to_poky/bitbake/bin/toaster
* You can use the Django administration interface to set Toaster
configuration parameters such as the build directory, layer sources,
default variable values, and BitBake versions. > we need to test this. It
used to be the case, but I am not sure what's happening now after the set
up changes made by Brian
* to set up Toaster in Build Mode > this should again link to the
explanation of the build mode in the operational modes section
* Section 3.6.1 > the commands shown for Ubuntu and Fedora make sure you
comply with the apache, mod-wsgi and mysql requirements state above, but
that is not explicit from the layout.
* # change for any release name required > Only jethro and fido will
support this kind of set up, I think, so maybe we should remove that
sentence
* Make sure you make this edit further down in the file from where
BUILD_MODE is set based on the TOASTER_MANAGED environment variable > I am
not sure I understand this sentence. Does it mean that I have to add
BUILD_MODE after TOASTER_MANAGED in the file?
* Get Toaster to create the database schema, default data, and gather the
statically-served files: > should we break down the steps here to explain
what each line does? Those are not obvious for people outside
toaster-land.
* Here are the commands: > I am not sure what those commands are for. Can
we explain?
>
>
>Note that I left the section in on using the web interface. I am
>assuming that stuff stays.
Yes, although I'd like to list one more video if possible, about building
custom layers with Toaster. The video is here:
https://www.youtube.com/watch?v=QJzaE_XjX5c
Thanks!
Belén
>
>
>Let me know of any changes by using this email thread.
>
>
>Thanks,
>
>Scott
>
>
>On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
><belen.barros.pena@intel.com> wrote:
>
>I have gone through the list of changes we put together for the Toaster
>manual, and most of them are already there. There is only one thing
>pending: changing Chapter 3, the one about setting up and using Toaster.
>
>The team has put together some new content for that section as a starting
>point. It's here
>
>http://piratepad.nl/YzSI38RuYd
>
>Note that it includes also some changes for section 2.1 (at the very top).
>
>There are 2 gaps in this new content:
>
>1. How to change the default location of the layers checkout directory
>2. How to change the default location of the build directory
>
>Brian: do you think you could add the above missing information to the
>pad, so that Scott can make the changes to the manual (if he has time)?
>
>Thanks!
>
>Belén
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-21 9:44 ` Barros Pena, Belen
@ 2015-10-21 12:54 ` Barros Pena, Belen
2015-10-21 15:55 ` Scott Rifenbark
2015-10-21 13:01 ` Barros Pena, Belen
2015-10-21 15:46 ` Scott Rifenbark
2 siblings, 1 reply; 12+ messages in thread
From: Barros Pena, Belen @ 2015-10-21 12:54 UTC (permalink / raw)
To: Scott Rifenbark; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
Sorry Scott: just spotted a typo in section 3.5. Where it says
./bitbake/bin/toaster/manage.py createsuperuser
It should say
./bitbake/lib/toaster/manage.py createsuperuser
Thanks!
Belén
On 21/10/2015 10:44, "Barros Pena, Belen" <belen.barros.pena@intel.com>
wrote:
>
>
>On 20/10/2015 20:06, "Scott Rifenbark" <srifenbark@gmail.com> wrote:
>
>>Hi,
>>
>>
>>I got the chapter 3 changes roughed in. Can't get to the small chapter 2
>>change until later. Here is the link to review the chapter 3 stuff -
>>
>>http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#t
>>o
>>aster-manual-setup-and-use
>><http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#
>>t
>>oaster-manual-setup-and-use>.
>
>Thanks for this, Scott. Just a few omments:
>
>* "(e.g. "Build Mode")," > this is not an example, it is one of the
>operational modes explained in 1.1. Toaster Operational Modes. We don't
>have an anchor to the build mode within that 1.1. Section, but if we could
>split it and create one, that 'build mode' string should be a link to the
>explanation of the build mode in the operational modes section.
>
>* "to the root of your Toaster source directory:" > I don't think it
>should say the 'Toaster source directory'. People didn't clone Toaster:
>they cloned / downloaded the 2.0 Yocto Project release. That's the source
>directory they need to navigate to. Maybe we should just use "navigate to
>the root of your source directory", which you use further down.
>
>* "If you would rather configure and start your builds using the command
>line" > maybe we should add here "analysis mode" and link it to the
>corresponding explanation in the toaster operational modes section
>
>* Section 3.3 > I think I am missing something. I don't understand what
>"execute path_to_poky/bitbake/bin/toaster" is supposed to mean. Maybe
>Brian can explain (he wrote that bit). Also, I think the path is wrong.
>The _toaster_clones directory is created inside poky
>(poky/_toaster_clones) not inside
>poky/bitbake/bin/toaster/_toaster_clones. It also says "if you used the
>following command to start Toaster", but then no command is shown. Are we
>missing the path_to_poky/bitbake/bin/toaster command here?
>
>* Section 3.4 > all the above also applies to this section. The build
>directory is inside poky (poky/build) not poky/bitbake/bin/toaster/build.
>We are also missing the command you need to execute:
>path_to_poky/bitbake/bin/toaster
>
>* You can use the Django administration interface to set Toaster
>configuration parameters such as the build directory, layer sources,
>default variable values, and BitBake versions. > we need to test this. It
>used to be the case, but I am not sure what's happening now after the set
>up changes made by Brian
>
>* to set up Toaster in Build Mode > this should again link to the
>explanation of the build mode in the operational modes section
>
>* Section 3.6.1 > the commands shown for Ubuntu and Fedora make sure you
>comply with the apache, mod-wsgi and mysql requirements state above, but
>that is not explicit from the layout.
>
>* # change for any release name required > Only jethro and fido will
>support this kind of set up, I think, so maybe we should remove that
>sentence
>
>* Make sure you make this edit further down in the file from where
>BUILD_MODE is set based on the TOASTER_MANAGED environment variable > I am
>not sure I understand this sentence. Does it mean that I have to add
>BUILD_MODE after TOASTER_MANAGED in the file?
>
>* Get Toaster to create the database schema, default data, and gather the
>statically-served files: > should we break down the steps here to explain
>what each line does? Those are not obvious for people outside
>toaster-land.
>
>* Here are the commands: > I am not sure what those commands are for. Can
>we explain?
>
>>
>>
>>Note that I left the section in on using the web interface. I am
>>assuming that stuff stays.
>
>Yes, although I'd like to list one more video if possible, about building
>custom layers with Toaster. The video is here:
>
>https://www.youtube.com/watch?v=QJzaE_XjX5c
>
>
>Thanks!
>
>Belén
>
>>
>>
>>Let me know of any changes by using this email thread.
>>
>>
>>Thanks,
>>
>>Scott
>>
>>
>>On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
>><belen.barros.pena@intel.com> wrote:
>>
>>I have gone through the list of changes we put together for the Toaster
>>manual, and most of them are already there. There is only one thing
>>pending: changing Chapter 3, the one about setting up and using Toaster.
>>
>>The team has put together some new content for that section as a starting
>>point. It's here
>>
>>http://piratepad.nl/YzSI38RuYd
>>
>>Note that it includes also some changes for section 2.1 (at the very
>>top).
>>
>>There are 2 gaps in this new content:
>>
>>1. How to change the default location of the layers checkout directory
>>2. How to change the default location of the build directory
>>
>>Brian: do you think you could add the above missing information to the
>>pad, so that Scott can make the changes to the manual (if he has time)?
>>
>>Thanks!
>>
>>Belén
>>
>>
>>
>>
>>
>>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-21 9:44 ` Barros Pena, Belen
2015-10-21 12:54 ` Barros Pena, Belen
@ 2015-10-21 13:01 ` Barros Pena, Belen
2015-10-21 15:46 ` Scott Rifenbark
2 siblings, 0 replies; 12+ messages in thread
From: Barros Pena, Belen @ 2015-10-21 13:01 UTC (permalink / raw)
To: toaster@yoctoproject.org; +Cc: Bartosh, Eduard
On 21/10/2015 10:44, "Barros Pena, Belen" <belen.barros.pena@intel.com>
wrote:
>* You can use the Django administration interface to set Toaster
>configuration parameters such as the build directory, layer sources,
>default variable values, and BitBake versions. > we need to test this. It
>used to be the case, but I am not sure what's happening now after the set
>up changes made by Brian
Well, I tested this with toaster-next and, to my surprise, it works.
I first amended the value of the IMAGE_FSTYPES variable by adding iso and
hddimg to it. When I created a new project in Toaster, the variable took
the new value.
Then, I changed the location of the build directory to something called
build-test and ran a build. A new build directory build-test was created
and a clean build ran there. So it looks like you can change the location
of the build directory via the Django admin interface without having to
change the value of TOASTER_DIR.
This might cause more problems than it solves, though.
Cheers
Belén
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-21 9:44 ` Barros Pena, Belen
2015-10-21 12:54 ` Barros Pena, Belen
2015-10-21 13:01 ` Barros Pena, Belen
@ 2015-10-21 15:46 ` Scott Rifenbark
2015-10-21 16:50 ` Michael Wood
2 siblings, 1 reply; 12+ messages in thread
From: Scott Rifenbark @ 2015-10-21 15:46 UTC (permalink / raw)
To: Barros Pena, Belen; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
[-- Attachment #1: Type: text/plain, Size: 7846 bytes --]
Hi,
See my in-line comments for all these issues. There are two outstanding
issues surrounding blocks of commands (see below). I need some further
explanation for context.
http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html
Thanks
On Wed, Oct 21, 2015 at 2:44 AM, Barros Pena, Belen <
belen.barros.pena@intel.com> wrote:
>
>
> On 20/10/2015 20:06, "Scott Rifenbark" <srifenbark@gmail.com> wrote:
>
> >Hi,
> >
> >
> >I got the chapter 3 changes roughed in. Can't get to the small chapter 2
> >change until later. Here is the link to review the chapter 3 stuff -
> >
> >
> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#to
> >aster-manual-setup-and-use
> ><
> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#t
> >oaster-manual-setup-and-use>.
>
> Thanks for this, Scott. Just a few omments:
>
> * "(e.g. "Build Mode")," > this is not an example, it is one of the
> operational modes explained in 1.1. Toaster Operational Modes. We don't
> have an anchor to the build mode within that 1.1. Section, but if we could
> split it and create one, that 'build mode' string should be a link to the
> explanation of the build mode in the operational modes section.
>
Correct.. I should have used "i.e.", which means "that is". I created the
anchor to "build mode" and set up the link.
>
> * "to the root of your Toaster source directory:" > I don't think it
> should say the 'Toaster source directory'. People didn't clone Toaster:
> they cloned / downloaded the 2.0 Yocto Project release. That's the source
> directory they need to navigate to. Maybe we should just use "navigate to
> the root of your source directory", which you use further down.
>
Ok - I have used the established "Source Directory" term that is
consistently used to point to "poky", which is used in this example. I
linked to the definition, which is in the dev-manual and added the "for
example" notational e.g. to link to that definition.
> * "If you would rather configure and start your builds using the command
> line" > maybe we should add here "analysis mode" and link it to the
> corresponding explanation in the toaster operational modes section
>
I changed this to be parallel to how we did the "Build Mode" item above.
>
> * Section 3.3 > I think I am missing something. I don't understand what
> "execute path_to_poky/bitbake/bin/toaster" is supposed to mean. Maybe
> Brian can explain (he wrote that bit). Also, I think the path is wrong.
> The _toaster_clones directory is created inside poky
> (poky/_toaster_clones) not inside
> poky/bitbake/bin/toaster/_toaster_clones. It also says "if you used the
> following command to start Toaster", but then no command is shown. Are we
> missing the path_to_poky/bitbake/bin/toaster command here?
>
OK - after some clarification from Belen I have re-written this to be
correct.
>
> * Section 3.4 > all the above also applies to this section. The build
> directory is inside poky (poky/build) not poky/bitbake/bin/toaster/build.
> We are also missing the command you need to execute:
> path_to_poky/bitbake/bin/toaster
>
Got it.. updated to match the previous section.
>
> * You can use the Django administration interface to set Toaster
> configuration parameters such as the build directory, layer sources,
> default variable values, and BitBake versions. > we need to test this. It
> used to be the case, but I am not sure what's happening now after the set
> up changes made by Brian
>
I see from further down in this email thread that you have tested this so I
am leaving it as is.
>
> * to set up Toaster in Build Mode > this should again link to the
> explanation of the build mode in the operational modes section
>
Done.
>
> * Section 3.6.1 > the commands shown for Ubuntu and Fedora make sure you
> comply with the apache, mod-wsgi and mysql requirements state above, but
> that is not explicit from the layout.
>
Not sure how you want this addressed. So, I have added a note. Check it
out and let me know if this is okay.
>
> * # change for any release name required > Only jethro and fido will
> support this kind of set up, I think, so maybe we should remove that
> sentence
>
I replaced "jethro" in the command to use the variable &DISTRO_NAME, which
resolves to the "jethro" in this case. It should never resolve to anything
prior to "jethro". I took out the commented part of the command.
>
> * Make sure you make this edit further down in the file from where
> BUILD_MODE is set based on the TOASTER_MANAGED environment variable > I am
> not sure I understand this sentence. Does it mean that I have to add
> BUILD_MODE after TOASTER_MANAGED in the file?
>
I added a note about this requirement and attempted to make it more clear.
>
> * Get Toaster to create the database schema, default data, and gather the
> statically-served files: > should we break down the steps here to explain
> what each line does? Those are not obvious for people outside
> toaster-land.
>
I sent Belen a chat on Jabber regarding this comment. I don't know how
these commands break out. So if someone can provide some details on these
four commands I can wrap some context around them:
$ ./bitbake/lib/toaster/manage.py syncdb --migrate
$ ./bitbake/lib/toaster/manage.py loadconf
./meta-yocto/conf/toasterconf.json
$ ./bitbake/lib/toaster/manage.py lsupdates
$ ./bitbake/lib/toaster/manage.py collectstatic
>
> * Here are the commands: > I am not sure what those commands are for. Can
> we explain?
>
So for this area of the manual, I basically cut and pasted the stuff from
the file given to me. I am clueless on what these commands do. Can
someone provide some explanation around this block of commands?
Alias /static /var/www/toaster/static_files
<Directory /var/www/toaster/static_files>
Order allow,deny
Allow from all
Require all granted
</Directory>
WSGIDaemonProcess toaster_wsgi
python-path=/var/www/toaster/poky/bitbake/lib/toaster:/var/www/toaster/venv/lib/python2.7/site-packages
WSGIScriptAlias /
"/var/www/toaster/poky/bitbake/lib/toaster/toastermain/wsgi.py"
<Location />
WSGIProcessGroup toastern_wsgi
</Location>
>
> >
> >
> >Note that I left the section in on using the web interface. I am
> >assuming that stuff stays.
>
> Yes, although I'd like to list one more video if possible, about building
> custom layers with Toaster. The video is here:
>
> https://www.youtube.com/watch?v=QJzaE_XjX5c
Added to the list of current vids.
>
>
>
> Thanks!
>
> Belén
>
> >
> >
> >Let me know of any changes by using this email thread.
> >
> >
> >Thanks,
> >
> >Scott
> >
> >
> >On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
> ><belen.barros.pena@intel.com> wrote:
> >
> >I have gone through the list of changes we put together for the Toaster
> >manual, and most of them are already there. There is only one thing
> >pending: changing Chapter 3, the one about setting up and using Toaster.
> >
> >The team has put together some new content for that section as a starting
> >point. It's here
> >
> >http://piratepad.nl/YzSI38RuYd
> >
> >Note that it includes also some changes for section 2.1 (at the very top).
> >
> >There are 2 gaps in this new content:
> >
> >1. How to change the default location of the layers checkout directory
> >2. How to change the default location of the build directory
> >
> >Brian: do you think you could add the above missing information to the
> >pad, so that Scott can make the changes to the manual (if he has time)?
> >
> >Thanks!
> >
> >Belén
> >
> >
> >
> >
> >
> >
>
>
[-- Attachment #2: Type: text/html, Size: 12808 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-21 12:54 ` Barros Pena, Belen
@ 2015-10-21 15:55 ` Scott Rifenbark
0 siblings, 0 replies; 12+ messages in thread
From: Scott Rifenbark @ 2015-10-21 15:55 UTC (permalink / raw)
To: Barros Pena, Belen; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
[-- Attachment #1: Type: text/plain, Size: 5899 bytes --]
This typo is fixed. See the manual at
file:///home/scottrif/yocto-docs/documentation/toaster-manual/toaster-manual.html#toaster-creating-a-django-super-user
Scott
On Wed, Oct 21, 2015 at 5:54 AM, Barros Pena, Belen <
belen.barros.pena@intel.com> wrote:
> Sorry Scott: just spotted a typo in section 3.5. Where it says
>
> ./bitbake/bin/toaster/manage.py createsuperuser
>
>
> It should say
>
> ./bitbake/lib/toaster/manage.py createsuperuser
>
Fixed.
>
>
> Thanks!
>
> Belén
>
> On 21/10/2015 10:44, "Barros Pena, Belen" <belen.barros.pena@intel.com>
> wrote:
>
> >
> >
> >On 20/10/2015 20:06, "Scott Rifenbark" <srifenbark@gmail.com> wrote:
> >
> >>Hi,
> >>
> >>
> >>I got the chapter 3 changes roughed in. Can't get to the small chapter
> 2
>
>>change until later. Here is the link to review the chapter 3 stuff -
> >>
> >>
> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#t
> >>o
> >>aster-manual-setup-and-use
> >><
> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#
> >>t
> >>oaster-manual-setup-and-use>.
> >
> >Thanks for this, Scott. Just a few omments:
> >
> >* "(e.g. "Build Mode")," > this is not an example, it is one of the
> >operational modes explained in 1.1. Toaster Operational Modes. We don't
> >have an anchor to the build mode within that 1.1. Section, but if we could
> >split it and create one, that 'build mode' string should be a link to the
> >explanation of the build mode in the operational modes section.
> >
> >* "to the root of your Toaster source directory:" > I don't think it
> >should say the 'Toaster source directory'. People didn't clone Toaster:
> >they cloned / downloaded the 2.0 Yocto Project release. That's the source
> >directory they need to navigate to. Maybe we should just use "navigate to
> >the root of your source directory", which you use further down.
> >
> >* "If you would rather configure and start your builds using the command
> >line" > maybe we should add here "analysis mode" and link it to the
> >corresponding explanation in the toaster operational modes section
> >
> >* Section 3.3 > I think I am missing something. I don't understand what
> >"execute path_to_poky/bitbake/bin/toaster" is supposed to mean. Maybe
> >Brian can explain (he wrote that bit). Also, I think the path is wrong.
> >The _toaster_clones directory is created inside poky
> >(poky/_toaster_clones) not inside
> >poky/bitbake/bin/toaster/_toaster_clones. It also says "if you used the
> >following command to start Toaster", but then no command is shown. Are we
> >missing the path_to_poky/bitbake/bin/toaster command here?
> >
> >* Section 3.4 > all the above also applies to this section. The build
> >directory is inside poky (poky/build) not poky/bitbake/bin/toaster/build.
> >We are also missing the command you need to execute:
> >path_to_poky/bitbake/bin/toaster
> >
> >* You can use the Django administration interface to set Toaster
> >configuration parameters such as the build directory, layer sources,
> >default variable values, and BitBake versions. > we need to test this. It
> >used to be the case, but I am not sure what's happening now after the set
> >up changes made by Brian
> >
> >* to set up Toaster in Build Mode > this should again link to the
> >explanation of the build mode in the operational modes section
> >
> >* Section 3.6.1 > the commands shown for Ubuntu and Fedora make sure you
> >comply with the apache, mod-wsgi and mysql requirements state above, but
> >that is not explicit from the layout.
> >
> >* # change for any release name required > Only jethro and fido will
> >support this kind of set up, I think, so maybe we should remove that
> >sentence
> >
> >* Make sure you make this edit further down in the file from where
> >BUILD_MODE is set based on the TOASTER_MANAGED environment variable > I am
> >not sure I understand this sentence. Does it mean that I have to add
> >BUILD_MODE after TOASTER_MANAGED in the file?
> >
> >* Get Toaster to create the database schema, default data, and gather the
> >statically-served files: > should we break down the steps here to explain
> >what each line does? Those are not obvious for people outside
> >toaster-land.
> >
> >* Here are the commands: > I am not sure what those commands are for. Can
> >we explain?
> >
> >>
> >>
> >>Note that I left the section in on using the web interface. I am
> >>assuming that stuff stays.
> >
> >Yes, although I'd like to list one more video if possible, about building
> >custom layers with Toaster. The video is here:
> >
> >https://www.youtube.com/watch?v=QJzaE_XjX5c
> >
> >
> >Thanks!
> >
> >Belén
> >
> >>
> >>
> >>Let me know of any changes by using this email thread.
> >>
> >>
> >>Thanks,
> >>
> >>Scott
> >>
> >>
> >>On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
> >><belen.barros.pena@intel.com> wrote:
> >>
> >>I have gone through the list of changes we put together for the Toaster
> >>manual, and most of them are already there. There is only one thing
> >>pending: changing Chapter 3, the one about setting up and using Toaster.
> >>
> >>The team has put together some new content for that section as a starting
> >>point. It's here
> >>
> >>http://piratepad.nl/YzSI38RuYd
> >>
> >>Note that it includes also some changes for section 2.1 (at the very
> >>top).
> >>
> >>There are 2 gaps in this new content:
> >>
> >>1. How to change the default location of the layers checkout directory
> >>2. How to change the default location of the build directory
> >>
> >>Brian: do you think you could add the above missing information to the
> >>pad, so that Scott can make the changes to the manual (if he has time)?
> >>
> >>Thanks!
> >>
> >>Belén
> >>
> >>
> >>
> >>
> >>
> >>
> >
>
>
[-- Attachment #2: Type: text/html, Size: 8287 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-19 11:09 Changes to the Toaster manual Barros Pena, Belen
2015-10-20 19:06 ` Scott Rifenbark
@ 2015-10-21 16:09 ` Scott Rifenbark
1 sibling, 0 replies; 12+ messages in thread
From: Scott Rifenbark @ 2015-10-21 16:09 UTC (permalink / raw)
To: Barros Pena, Belen; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]
Hi,
I made the small re-write in section 2.1 where we tell the user to get
their build system in order. Note that re-ordered the sections in the
paragraph to match the order used in the Quick Start. You can see the
updated section here -
http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#toaster-setting-up-the-basic-system-requirements
.
This brings the published 2.0 manual up-to-date regarding all the comments
I have received thus far. We just have the outstanding issues I noted in
the thread this morning.
Thanks,
Scott
On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen <
belen.barros.pena@intel.com> wrote:
> I have gone through the list of changes we put together for the Toaster
> manual, and most of them are already there. There is only one thing
> pending: changing Chapter 3, the one about setting up and using Toaster.
>
> The team has put together some new content for that section as a starting
> point. It's here
>
> http://piratepad.nl/YzSI38RuYd
>
> Note that it includes also some changes for section 2.1 (at the very top).
>
> There are 2 gaps in this new content:
>
> 1. How to change the default location of the layers checkout directory
> 2. How to change the default location of the build directory
>
> Brian: do you think you could add the above missing information to the
> pad, so that Scott can make the changes to the manual (if he has time)?
>
> Thanks!
>
> Belén
>
>
[-- Attachment #2: Type: text/html, Size: 2100 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-21 15:46 ` Scott Rifenbark
@ 2015-10-21 16:50 ` Michael Wood
2015-10-21 17:57 ` Scott Rifenbark
0 siblings, 1 reply; 12+ messages in thread
From: Michael Wood @ 2015-10-21 16:50 UTC (permalink / raw)
To: Scott Rifenbark, Barros Pena, Belen
Cc: toaster@yoctoproject.org, Bartosh, Eduard
Hi Scott,
Comments in-line
On 21/10/15 16:46, Scott Rifenbark wrote:
> Hi,
>
> See my in-line comments for all these issues. There are two
> outstanding issues surrounding blocks of commands (see below). I need
> some further explanation for context.
>
> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html
>
> Thanks
>
> On Wed, Oct 21, 2015 at 2:44 AM, Barros Pena, Belen
> <belen.barros.pena@intel.com <mailto:belen.barros.pena@intel.com>> wrote:
>
>
>
> On 20/10/2015 20:06, "Scott Rifenbark" <srifenbark@gmail.com
> <mailto:srifenbark@gmail.com>> wrote:
>
> >Hi,
> >
> >
> >I got the chapter 3 changes roughed in. Can't get to the small
> chapter 2
> >change until later. Here is the link to review the chapter 3 stuff -
> >
> >http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#to
> >aster-manual-setup-and-use
> ><http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#t
> >oaster-manual-setup-and-use>.
>
> Thanks for this, Scott. Just a few omments:
>
> * "(e.g. "Build Mode")," > this is not an example, it is one of the
> operational modes explained in 1.1. Toaster Operational Modes. We
> don't
> have an anchor to the build mode within that 1.1. Section, but if
> we could
> split it and create one, that 'build mode' string should be a link
> to the
> explanation of the build mode in the operational modes section.
>
>
> Correct.. I should have used "i.e.", which means "that is". I created
> the anchor to "build mode" and set up the link.
>
>
> * "to the root of your Toaster source directory:" > I don't think it
> should say the 'Toaster source directory'. People didn't clone
> Toaster:
> they cloned / downloaded the 2.0 Yocto Project release. That's the
> source
> directory they need to navigate to. Maybe we should just use
> "navigate to
> the root of your source directory", which you use further down.
>
>
> Ok - I have used the established "Source Directory" term that is
> consistently used to point to "poky", which is used in this example.
> I linked to the definition, which is in the dev-manual and added the
> "for example" notational e.g. to link to that definition.
>
>
> * "If you would rather configure and start your builds using the
> command
> line" > maybe we should add here "analysis mode" and link it to the
> corresponding explanation in the toaster operational modes section
>
>
> I changed this to be parallel to how we did the "Build Mode" item above.
>
>
> * Section 3.3 > I think I am missing something. I don't understand
> what
> "execute path_to_poky/bitbake/bin/toaster" is supposed to mean. Maybe
> Brian can explain (he wrote that bit). Also, I think the path is
> wrong.
> The _toaster_clones directory is created inside poky
> (poky/_toaster_clones) not inside
> poky/bitbake/bin/toaster/_toaster_clones. It also says "if you
> used the
> following command to start Toaster", but then no command is shown.
> Are we
> missing the path_to_poky/bitbake/bin/toaster command here?
>
>
> OK - after some clarification from Belen I have re-written this to be
> correct.
>
>
> * Section 3.4 > all the above also applies to this section. The build
> directory is inside poky (poky/build) not
> poky/bitbake/bin/toaster/build.
> We are also missing the command you need to execute:
> path_to_poky/bitbake/bin/toaster
>
>
> Got it.. updated to match the previous section.
>
>
> * You can use the Django administration interface to set Toaster
> configuration parameters such as the build directory, layer sources,
> default variable values, and BitBake versions. > we need to test
> this. It
> used to be the case, but I am not sure what's happening now after
> the set
> up changes made by Brian
>
>
> I see from further down in this email thread that you have tested this
> so I am leaving it as is.
>
>
> * to set up Toaster in Build Mode > this should again link to the
> explanation of the build mode in the operational modes section
>
>
> Done.
>
>
> * Section 3.6.1 > the commands shown for Ubuntu and Fedora make
> sure you
> comply with the apache, mod-wsgi and mysql requirements state
> above, but
> that is not explicit from the layout.
>
>
> Not sure how you want this addressed. So, I have added a note. Check
> it out and let me know if this is okay.
>
>
> * # change for any release name required > Only jethro and fido will
> support this kind of set up, I think, so maybe we should remove that
> sentence
>
>
> I replaced "jethro" in the command to use the variable &DISTRO_NAME,
> which resolves to the "jethro" in this case. It should never resolve
> to anything prior to "jethro". I took out the commented part of the
> command.
>
>
> * Make sure you make this edit further down in the file from where
> BUILD_MODE is set based on the TOASTER_MANAGED environment
> variable > I am
> not sure I understand this sentence. Does it mean that I have to add
> BUILD_MODE after TOASTER_MANAGED in the file?
>
>
> I added a note about this requirement and attempted to make it more clear.
TOASTER_MANAGED is an internal implementation detail now and does not
need to be mentioned.
In section 3.6.2 step 3 the only instruction needed is "Set BUILD_MODE"
to True.
>
>
> * Get Toaster to create the database schema, default data, and
> gather the
> statically-served files: > should we break down the steps here to
> explain
> what each line does? Those are not obvious for people outside
> toaster-land.
>
>
> I sent Belen a chat on Jabber regarding this comment. I don't know
> how these commands break out. So if someone can provide some details
> on these four commands I can wrap some context around them:
>
> $ ./bitbake/lib/toaster/manage.py syncdb --migrate
This is a django-south command See
https://south.readthedocs.org/en/latest/commands.html
> $ ./bitbake/lib/toaster/manage.py loadconf
> ./meta-yocto/conf/toasterconf.json
http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#toaster-command-loadconf
> $ ./bitbake/lib/toaster/manage.py lsupdates
This fetches the initial recipes and layers data from the layer index.
> $ ./bitbake/lib/toaster/manage.py collectstatic
This is a django framework command for collecting up all the statically
served files into a designated directory to be served up by the
webserver (Apache in the case of this documentation)
https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/
>
> * Here are the commands: > I am not sure what those commands are
> for. Can
> we explain?
>
>
> So for this area of the manual, I basically cut and pasted the stuff
> from the file given to me. I am clueless on what these commands do.
> Can someone provide some explanation around this block of commands?
>
> Alias /static /var/www/toaster/static_files
> <Directory /var/www/toaster/static_files>
> Order allow,deny
> Allow from all
> Require all granted
> </Directory>
>
> WSGIDaemonProcess toaster_wsgi
> python-path=/var/www/toaster/poky/bitbake/lib/toaster:/var/www/toaster/venv/lib/python2.7/site-packages
>
> WSGIScriptAlias /
> "/var/www/toaster/poky/bitbake/lib/toaster/toastermain/wsgi.py"
> <Location />
> WSGIProcessGroup toastern_wsgi
> </Location>
>
This part isn't a command, it's a sample Apache configuration for
Toaster, it needs to be written and placed in the directory mentioned in
the instructions.
Thanks,
Michael
>
> >
> >
> >Note that I left the section in on using the web interface. I am
> >assuming that stuff stays.
>
> Yes, although I'd like to list one more video if possible, about
> building
> custom layers with Toaster. The video is here:
>
> https://www.youtube.com/watch?v=QJzaE_XjX5c
>
>
> Added to the list of current vids.
>
>
>
>
> Thanks!
>
> Belén
>
> >
> >
> >Let me know of any changes by using this email thread.
> >
> >
> >Thanks,
> >
> >Scott
> >
> >
> >On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
> ><belen.barros.pena@intel.com
> <mailto:belen.barros.pena@intel.com>> wrote:
> >
> >I have gone through the list of changes we put together for the
> Toaster
> >manual, and most of them are already there. There is only one thing
> >pending: changing Chapter 3, the one about setting up and using
> Toaster.
> >
> >The team has put together some new content for that section as a
> starting
> >point. It's here
> >
> >http://piratepad.nl/YzSI38RuYd
> >
> >Note that it includes also some changes for section 2.1 (at the
> very top).
> >
> >There are 2 gaps in this new content:
> >
> >1. How to change the default location of the layers checkout
> directory
> >2. How to change the default location of the build directory
> >
> >Brian: do you think you could add the above missing information
> to the
> >pad, so that Scott can make the changes to the manual (if he has
> time)?
> >
> >Thanks!
> >
> >Belén
> >
> >
> >
> >
> >
> >
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-21 16:50 ` Michael Wood
@ 2015-10-21 17:57 ` Scott Rifenbark
2015-10-23 9:10 ` Barros Pena, Belen
0 siblings, 1 reply; 12+ messages in thread
From: Scott Rifenbark @ 2015-10-21 17:57 UTC (permalink / raw)
To: Michael Wood; +Cc: toaster@yoctoproject.org, Bartosh, Eduard
[-- Attachment #1: Type: text/plain, Size: 10726 bytes --]
Adjustments in-line.
Thanks.
On Wed, Oct 21, 2015 at 9:50 AM, Michael Wood <michael.g.wood@intel.com>
wrote:
> Hi Scott,
>
> Comments in-line
>
> On 21/10/15 16:46, Scott Rifenbark wrote:
>
>> Hi,
>>
>> See my in-line comments for all these issues. There are two outstanding
>> issues surrounding blocks of commands (see below). I need some further
>> explanation for context.
>>
>> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html
>>
>> Thanks
>>
>> On Wed, Oct 21, 2015 at 2:44 AM, Barros Pena, Belen <
>> belen.barros.pena@intel.com <mailto:belen.barros.pena@intel.com>> wrote:
>>
>>
>>
>> On 20/10/2015 20:06, "Scott Rifenbark" <srifenbark@gmail.com
>> <mailto:srifenbark@gmail.com>> wrote:
>>
>> >Hi,
>> >
>> >
>> >I got the chapter 3 changes roughed in. Can't get to the small
>> chapter 2
>> >change until later. Here is the link to review the chapter 3 stuff -
>> >
>> >
>> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#to
>> >aster-manual-setup-and-use
>> ><
>> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#t
>> >oaster-manual-setup-and-use>.
>>
>> Thanks for this, Scott. Just a few omments:
>>
>> * "(e.g. "Build Mode")," > this is not an example, it is one of the
>> operational modes explained in 1.1. Toaster Operational Modes. We
>> don't
>> have an anchor to the build mode within that 1.1. Section, but if
>> we could
>> split it and create one, that 'build mode' string should be a link
>> to the
>> explanation of the build mode in the operational modes section.
>>
>>
>> Correct.. I should have used "i.e.", which means "that is". I created
>> the anchor to "build mode" and set up the link.
>>
>>
>> * "to the root of your Toaster source directory:" > I don't think it
>> should say the 'Toaster source directory'. People didn't clone
>> Toaster:
>> they cloned / downloaded the 2.0 Yocto Project release. That's the
>> source
>> directory they need to navigate to. Maybe we should just use
>> "navigate to
>> the root of your source directory", which you use further down.
>>
>>
>> Ok - I have used the established "Source Directory" term that is
>> consistently used to point to "poky", which is used in this example. I
>> linked to the definition, which is in the dev-manual and added the "for
>> example" notational e.g. to link to that definition.
>>
>>
>> * "If you would rather configure and start your builds using the
>> command
>> line" > maybe we should add here "analysis mode" and link it to the
>> corresponding explanation in the toaster operational modes section
>>
>>
>> I changed this to be parallel to how we did the "Build Mode" item above.
>>
>>
>> * Section 3.3 > I think I am missing something. I don't understand
>> what
>> "execute path_to_poky/bitbake/bin/toaster" is supposed to mean. Maybe
>> Brian can explain (he wrote that bit). Also, I think the path is
>> wrong.
>> The _toaster_clones directory is created inside poky
>> (poky/_toaster_clones) not inside
>> poky/bitbake/bin/toaster/_toaster_clones. It also says "if you
>> used the
>> following command to start Toaster", but then no command is shown.
>> Are we
>> missing the path_to_poky/bitbake/bin/toaster command here?
>>
>>
>> OK - after some clarification from Belen I have re-written this to be
>> correct.
>>
>>
>> * Section 3.4 > all the above also applies to this section. The build
>> directory is inside poky (poky/build) not
>> poky/bitbake/bin/toaster/build.
>> We are also missing the command you need to execute:
>> path_to_poky/bitbake/bin/toaster
>>
>>
>> Got it.. updated to match the previous section.
>>
>>
>> * You can use the Django administration interface to set Toaster
>> configuration parameters such as the build directory, layer sources,
>> default variable values, and BitBake versions. > we need to test
>> this. It
>> used to be the case, but I am not sure what's happening now after
>> the set
>> up changes made by Brian
>>
>>
>> I see from further down in this email thread that you have tested this so
>> I am leaving it as is.
>>
>>
>> * to set up Toaster in Build Mode > this should again link to the
>> explanation of the build mode in the operational modes section
>>
>>
>> Done.
>>
>>
>> * Section 3.6.1 > the commands shown for Ubuntu and Fedora make
>> sure you
>> comply with the apache, mod-wsgi and mysql requirements state
>> above, but
>> that is not explicit from the layout.
>>
>>
>> Not sure how you want this addressed. So, I have added a note. Check it
>> out and let me know if this is okay.
>>
>>
>> * # change for any release name required > Only jethro and fido will
>> support this kind of set up, I think, so maybe we should remove that
>> sentence
>>
>>
>> I replaced "jethro" in the command to use the variable &DISTRO_NAME,
>> which resolves to the "jethro" in this case. It should never resolve to
>> anything prior to "jethro". I took out the commented part of the command.
>>
>>
>> * Make sure you make this edit further down in the file from where
>> BUILD_MODE is set based on the TOASTER_MANAGED environment
>> variable > I am
>> not sure I understand this sentence. Does it mean that I have to add
>> BUILD_MODE after TOASTER_MANAGED in the file?
>>
>>
>> I added a note about this requirement and attempted to make it more clear.
>>
>
>
> TOASTER_MANAGED is an internal implementation detail now and does not need
> to be mentioned.
>
> In section 3.6.2 step 3 the only instruction needed is "Set BUILD_MODE" to
> True.
>
OK thanks. I have removed that note.
>
>
>
>>
>> * Get Toaster to create the database schema, default data, and
>> gather the
>> statically-served files: > should we break down the steps here to
>> explain
>> what each line does? Those are not obvious for people outside
>> toaster-land.
>>
>>
>> I sent Belen a chat on Jabber regarding this comment. I don't know how
>> these commands break out. So if someone can provide some details on these
>> four commands I can wrap some context around them:
>>
>> $ ./bitbake/lib/toaster/manage.py syncdb --migrate
>>
>
> This is a django-south command See
> https://south.readthedocs.org/en/latest/commands.html
I looked at the documentation for the syncdb command at this link and tried
to do some tracing back to get an understanding of the bigger concept
here. I made a stab at trying to describe what this command does at a high
level. Let me know if it is okay.
>
>
>
> $ ./bitbake/lib/toaster/manage.py loadconf
>> ./meta-yocto/conf/toasterconf.json
>>
>
>
> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#toaster-command-loadconf
Got this one handled.
>
>
> $ ./bitbake/lib/toaster/manage.py lsupdates
>>
>
> This fetches the initial recipes and layers data from the layer index.
>
Got this one handled.
>
>
> $ ./bitbake/lib/toaster/manage.py collectstatic
>>
>
> This is a django framework command for collecting up all the statically
> served files into a designated directory to be served up by the webserver
> (Apache in the case of this documentation)
>
> https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/
>
Got this covered.
>
>
>> * Here are the commands: > I am not sure what those commands are
>> for. Can
>> we explain?
>>
>>
>> So for this area of the manual, I basically cut and pasted the stuff from
>> the file given to me. I am clueless on what these commands do. Can
>> someone provide some explanation around this block of commands?
>>
>> Alias /static /var/www/toaster/static_files
>> <Directory /var/www/toaster/static_files>
>> Order allow,deny
>> Allow from all
>> Require all granted
>> </Directory>
>>
>> WSGIDaemonProcess toaster_wsgi
>> python-path=/var/www/toaster/poky/bitbake/lib/toaster:/var/www/toaster/venv/lib/python2.7/site-packages
>>
>> WSGIScriptAlias /
>> "/var/www/toaster/poky/bitbake/lib/toaster/toastermain/wsgi.py"
>> <Location />
>> WSGIProcessGroup toastern_wsgi
>> </Location>
>>
>>
>
> This part isn't a command, it's a sample Apache configuration for Toaster,
> it needs to be written and placed in the directory mentioned in the
> instructions.
>
Ok, That makes sense. I updated the leading text prior to the sample
configuration file to reflect that. Let me know if this is okay.
>
>
> Thanks,
>
> Michael
>
>
>> >
>> >
>> >Note that I left the section in on using the web interface. I am
>> >assuming that stuff stays.
>>
>> Yes, although I'd like to list one more video if possible, about
>> building
>> custom layers with Toaster. The video is here:
>>
>> https://www.youtube.com/watch?v=QJzaE_XjX5c
>>
>>
>> Added to the list of current vids.
>>
>>
>>
>>
>> Thanks!
>>
>> Belén
>>
>> >
>> >
>> >Let me know of any changes by using this email thread.
>> >
>> >
>> >Thanks,
>> >
>> >Scott
>> >
>> >
>> >On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
>> ><belen.barros.pena@intel.com
>> <mailto:belen.barros.pena@intel.com>> wrote:
>> >
>> >I have gone through the list of changes we put together for the
>> Toaster
>> >manual, and most of them are already there. There is only one thing
>> >pending: changing Chapter 3, the one about setting up and using
>> Toaster.
>> >
>> >The team has put together some new content for that section as a
>> starting
>> >point. It's here
>> >
>> >http://piratepad.nl/YzSI38RuYd
>> >
>> >Note that it includes also some changes for section 2.1 (at the
>> very top).
>> >
>> >There are 2 gaps in this new content:
>> >
>> >1. How to change the default location of the layers checkout
>> directory
>> >2. How to change the default location of the build directory
>> >
>> >Brian: do you think you could add the above missing information
>> to the
>> >pad, so that Scott can make the changes to the manual (if he has
>> time)?
>> >
>> >Thanks!
>> >
>> >Belén
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>
[-- Attachment #2: Type: text/html, Size: 15365 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-21 17:57 ` Scott Rifenbark
@ 2015-10-23 9:10 ` Barros Pena, Belen
2015-10-23 15:04 ` Scott Rifenbark
0 siblings, 1 reply; 12+ messages in thread
From: Barros Pena, Belen @ 2015-10-23 9:10 UTC (permalink / raw)
To: Scott Rifenbark; +Cc: toaster@yoctoproject.org
Hi Scott,
This is looking pretty much ready to me. I am just nitpicking now :)
* In sections 3.3 and 3.4, can we link 'build mode' to the explanation
above?
* In section 3.4, where you say "In this example, Toaster creates and uses
the poky/_toaster_clones directory to execute the builds" it should say
"In this example, Toaster creates and uses the poky/build directory to
execute the builds".
* In section 3.5, can we link the "Django framework" in the first
paragraph to https://www.djangoproject.com/
* In section 3.6.2, when you say "The lsupdates command fetches the
initial recipes and layers data from the layer index." I'd like to explain
in a bit more detail. Something like:
"The lsupdates command fetches information about machines, recipes and
layers available as part of OpenEmbedded. The information is fetched from
the OpenEmbedded Metadata Index. This information provides easy access to
metadata from Toaster, and it is key for Toaster's usability. We do not
recommend using Toaster without fetching this information."
"OpenEmbedded Metadata Index" should be a link to
http://layers.openembedded.org
* In section 3.7.1, can we move the 'build custom layers' video under the
'build configuration' video? You should watch the build configuration
video first, otherwise the build custom layers one might not make much
sense.
Thanks!
Belén
On 21/10/2015 18:57, "Scott Rifenbark" <srifenbark@gmail.com> wrote:
>
>
> * Section 3.6.1 > the commands shown for Ubuntu and Fedora make
> sure you
> comply with the apache, mod-wsgi and mysql requirements state
> above, but
> that is not explicit from the layout.
>
>
>Not sure how you want this addressed. So, I have added a note. Check it
>out and let me know if this is okay.
What about something like this, after the bullet point about MySQL:
"To install all the above in an Ubuntu 14.0.x distribution, run the
following:
$ sudo apt-get install apache2 libapache2-mod-wsgi mysql-server virtualenv
libmysqlclient-dev
To install all the above in a Fedora 22 or a RedHat distribution, run the
following:
$ sudo dnf install httpd mod_wsgi python-virtualenv gcc mysql-devel"
It's just about making explicit that those commands are the way to install
the requirements listed in the section.
>
>
> * # change for any release name required > Only jethro and fido will
> support this kind of set up, I think, so maybe we should remove that
> sentence
>
>
>I replaced "jethro" in the command to use the variable &DISTRO_NAME,
>which resolves to the "jethro" in this case. It should never resolve to
>anything prior to "jethro". I took out the commented part of the command.
>
>
> * Make sure you make this edit further down in the file from where
> BUILD_MODE is set based on the TOASTER_MANAGED environment
> variable > I am
> not sure I understand this sentence. Does it mean that I have to add
> BUILD_MODE after TOASTER_MANAGED in the file?
>
>
>I added a note about this requirement and attempted to make it more clear.
>
>
>
>
>
>
>TOASTER_MANAGED is an internal implementation detail now and does not
>need to be mentioned.
>
>In section 3.6.2 step 3 the only instruction needed is "Set BUILD_MODE"
>to True.
>
>
>
>
>OK thanks. I have removed that note.
>
>
>
>
>
>
>
>
>
> * Get Toaster to create the database schema, default data, and
> gather the
> statically-served files: > should we break down the steps here to
> explain
> what each line does? Those are not obvious for people outside
> toaster-land.
>
>
>I sent Belen a chat on Jabber regarding this comment. I don't know how
>these commands break out. So if someone can provide some details on
>these four commands I can wrap some context around them:
>
>$ ./bitbake/lib/toaster/manage.py syncdb --migrate
>
>
>
>This is a django-south command See
>https://south.readthedocs.org/en/latest/commands.html
><https://south.readthedocs.org/en/latest/commands.html>
>
>
>
>I looked at the documentation for the syncdb command at this link and
>tried to do some tracing back to get an understanding of the bigger
>concept here. I made a stab at trying to describe what this command does
>at a high level. Let me know if it is okay.
>
>
>
>
>
>
>$ ./bitbake/lib/toaster/manage.py loadconf
>./meta-yocto/conf/toasterconf.json
>
>
>
>http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#to
>aster-command-loadconf
>
>
>
>Got this one handled.
>
>
>
>
>
>$ ./bitbake/lib/toaster/manage.py lsupdates
>
>
>
>This fetches the initial recipes and layers data from the layer index.
>
>
>
>
>Got this one handled.
>
>
>
>
>
>$ ./bitbake/lib/toaster/manage.py collectstatic
>
>
>
>This is a django framework command for collecting up all the statically
>served files into a designated directory to be served up by the webserver
>(Apache in the case of this documentation)
>
>https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/
>
>
>
>
>Got this covered.
>
>
>
>
>
>
> * Here are the commands: > I am not sure what those commands are
> for. Can
> we explain?
>
>
>So for this area of the manual, I basically cut and pasted the stuff from
>the file given to me. I am clueless on what these commands do. Can
>someone provide some explanation around this block of commands?
>
>Alias /static /var/www/toaster/static_files
><Directory /var/www/toaster/static_files>
>Order allow,deny
>Allow from all
>Require all granted
></Directory>
>
>WSGIDaemonProcess toaster_wsgi
>python-path=/var/www/toaster/poky/bitbake/lib/toaster:/var/www/toaster/ven
>v/lib/python2.7/site-packages
>
>WSGIScriptAlias /
>"/var/www/toaster/poky/bitbake/lib/toaster/toastermain/wsgi.py"
><Location />
>WSGIProcessGroup toastern_wsgi
></Location>
>
>
>
>
>
>This part isn't a command, it's a sample Apache configuration for
>Toaster, it needs to be written and placed in the directory mentioned in
>the instructions.
>
>
>
>
>Ok, That makes sense. I updated the leading text prior to the sample
>configuration file to reflect that. Let me know if this is okay.
>
>
>
>
>
>
>Thanks,
>
>Michael
>
>
> >
> >
> >Note that I left the section in on using the web interface. I am
> >assuming that stuff stays.
>
> Yes, although I'd like to list one more video if possible, about
> building
> custom layers with Toaster. The video is here:
>
>
>https://www.youtube.com/watch?v=QJzaE_XjX5c
><https://www.youtube.com/watch?v=QJzaE_XjX5c>
>
>
>Added to the list of current vids.
>
>
>
>
> Thanks!
>
> Belén
>
> >
> >
> >Let me know of any changes by using this email thread.
> >
> >
> >Thanks,
> >
> >Scott
> >
> >
> >On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
> ><belen.barros.pena@intel.com
> <mailto:belen.barros.pena@intel.com>> wrote:
> >
> >I have gone through the list of changes we put together for the
> Toaster
> >manual, and most of them are already there. There is only one thing
> >pending: changing Chapter 3, the one about setting up and using
> Toaster.
> >
> >The team has put together some new content for that section as a
> starting
> >point. It's here
> >
> >http://piratepad.nl/YzSI38RuYd
> >
> >Note that it includes also some changes for section 2.1 (at the
> very top).
> >
> >There are 2 gaps in this new content:
> >
> >1. How to change the default location of the layers checkout
> directory
> >2. How to change the default location of the build directory
> >
> >Brian: do you think you could add the above missing information
> to the
> >pad, so that Scott can make the changes to the manual (if he has
> time)?
> >
> >Thanks!
> >
> >Belén
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Changes to the Toaster manual
2015-10-23 9:10 ` Barros Pena, Belen
@ 2015-10-23 15:04 ` Scott Rifenbark
0 siblings, 0 replies; 12+ messages in thread
From: Scott Rifenbark @ 2015-10-23 15:04 UTC (permalink / raw)
To: Barros Pena, Belen; +Cc: toaster@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 9133 bytes --]
Belen,
These changes are in.
On Fri, Oct 23, 2015 at 2:10 AM, Barros Pena, Belen <
belen.barros.pena@intel.com> wrote:
> Hi Scott,
>
> This is looking pretty much ready to me. I am just nitpicking now :)
>
> * In sections 3.3 and 3.4, can we link 'build mode' to the explanation
> above?
>
Yes - done.
>
> * In section 3.4, where you say "In this example, Toaster creates and uses
> the poky/_toaster_clones directory to execute the builds" it should say
> "In this example, Toaster creates and uses the poky/build directory to
> execute the builds".
>
Ooops... cut and paste error. Fixed.
>
> * In section 3.5, can we link the "Django framework" in the first
> paragraph to https://www.djangoproject.com/
Linked.
>
> * In section 3.6.2, when you say "The lsupdates command fetches the
> initial recipes and layers data from the layer index." I'd like to explain
> in a bit more detail. Something like:
>
> "The lsupdates command fetches information about machines, recipes and
> layers available as part of OpenEmbedded. The information is fetched from
> the OpenEmbedded Metadata Index. This information provides easy access to
> metadata from Toaster, and it is key for Toaster's usability. We do not
> recommend using Toaster without fetching this information."
>
Fixed with a slight modification to get the "we" stuff out. Nicely written
by the way.
>
> "OpenEmbedded Metadata Index" should be a link to
> http://layers.openembedded.org
Link added.
>
> * In section 3.7.1, can we move the 'build custom layers' video under the
> 'build configuration' video? You should watch the build configuration
> video first, otherwise the build custom layers one might not make much
> sense.
>
Yes - moved.
>
> Thanks!
>
> Belén
>
>
> On 21/10/2015 18:57, "Scott Rifenbark" <srifenbark@gmail.com> wrote:
> >
> >
> > * Section 3.6.1 > the commands shown for Ubuntu and Fedora make
> > sure you
> > comply with the apache, mod-wsgi and mysql requirements state
> > above, but
> > that is not explicit from the layout.
> >
> >
> >Not sure how you want this addressed. So, I have added a note. Check it
> >out and let me know if this is okay.
>
> What about something like this, after the bullet point about MySQL:
>
> "To install all the above in an Ubuntu 14.0.x distribution, run the
> following:
>
> $ sudo apt-get install apache2 libapache2-mod-wsgi mysql-server virtualenv
> libmysqlclient-dev
>
>
> To install all the above in a Fedora 22 or a RedHat distribution, run the
> following:
>
> $ sudo dnf install httpd mod_wsgi python-virtualenv gcc mysql-devel"
>
>
> It's just about making explicit that those commands are the way to install
> the requirements listed in the section.
>
> >
> >
> > * # change for any release name required > Only jethro and fido will
> > support this kind of set up, I think, so maybe we should remove that
> > sentence
> >
> >
> >I replaced "jethro" in the command to use the variable &DISTRO_NAME,
> >which resolves to the "jethro" in this case. It should never resolve to
> >anything prior to "jethro". I took out the commented part of the command.
> >
> >
> > * Make sure you make this edit further down in the file from where
> > BUILD_MODE is set based on the TOASTER_MANAGED environment
> > variable > I am
> > not sure I understand this sentence. Does it mean that I have to add
> > BUILD_MODE after TOASTER_MANAGED in the file?
> >
> >
> >I added a note about this requirement and attempted to make it more clear.
> >
> >
> >
> >
> >
> >
> >TOASTER_MANAGED is an internal implementation detail now and does not
> >need to be mentioned.
> >
> >In section 3.6.2 step 3 the only instruction needed is "Set BUILD_MODE"
> >to True.
> >
> >
> >
> >
> >OK thanks. I have removed that note.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > * Get Toaster to create the database schema, default data, and
> > gather the
> > statically-served files: > should we break down the steps here to
> > explain
> > what each line does? Those are not obvious for people outside
> > toaster-land.
> >
> >
> >I sent Belen a chat on Jabber regarding this comment. I don't know how
> >these commands break out. So if someone can provide some details on
> >these four commands I can wrap some context around them:
> >
> >$ ./bitbake/lib/toaster/manage.py syncdb --migrate
> >
> >
> >
> >This is a django-south command See
> >https://south.readthedocs.org/en/latest/commands.html
> ><https://south.readthedocs.org/en/latest/commands.html>
> >
> >
> >
> >I looked at the documentation for the syncdb command at this link and
> >tried to do some tracing back to get an understanding of the bigger
> >concept here. I made a stab at trying to describe what this command does
> >at a high level. Let me know if it is okay.
> >
> >
> >
> >
> >
> >
> >$ ./bitbake/lib/toaster/manage.py loadconf
> >./meta-yocto/conf/toasterconf.json
> >
> >
> >
> >
> http://www.yoctoproject.org/docs/2.0/toaster-manual/toaster-manual.html#to
> >aster-command-loadconf
> >
> >
> >
> >Got this one handled.
> >
> >
> >
> >
> >
> >$ ./bitbake/lib/toaster/manage.py lsupdates
> >
> >
> >
> >This fetches the initial recipes and layers data from the layer index.
> >
> >
> >
> >
> >Got this one handled.
> >
> >
> >
> >
> >
> >$ ./bitbake/lib/toaster/manage.py collectstatic
> >
> >
> >
> >This is a django framework command for collecting up all the statically
> >served files into a designated directory to be served up by the webserver
> >(Apache in the case of this documentation)
> >
> >https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/
> >
> >
> >
> >
> >Got this covered.
> >
> >
> >
> >
> >
> >
> > * Here are the commands: > I am not sure what those commands are
> > for. Can
> > we explain?
> >
> >
> >So for this area of the manual, I basically cut and pasted the stuff from
> >the file given to me. I am clueless on what these commands do. Can
> >someone provide some explanation around this block of commands?
> >
> >Alias /static /var/www/toaster/static_files
> ><Directory /var/www/toaster/static_files>
> >Order allow,deny
> >Allow from all
> >Require all granted
> ></Directory>
> >
> >WSGIDaemonProcess toaster_wsgi
> >python-path=/var/www/toaster/poky/bitbake/lib/toaster:/var/www/toaster/ven
> >v/lib/python2.7/site-packages
> >
> >WSGIScriptAlias /
> >"/var/www/toaster/poky/bitbake/lib/toaster/toastermain/wsgi.py"
> ><Location />
> >WSGIProcessGroup toastern_wsgi
> ></Location>
> >
> >
> >
> >
> >
> >This part isn't a command, it's a sample Apache configuration for
> >Toaster, it needs to be written and placed in the directory mentioned in
> >the instructions.
> >
> >
> >
> >
> >Ok, That makes sense. I updated the leading text prior to the sample
> >configuration file to reflect that. Let me know if this is okay.
> >
> >
> >
> >
> >
> >
> >Thanks,
> >
> >Michael
> >
> >
> > >
> > >
> > >Note that I left the section in on using the web interface. I am
> > >assuming that stuff stays.
> >
> > Yes, although I'd like to list one more video if possible, about
> > building
> > custom layers with Toaster. The video is here:
> >
> >
> >https://www.youtube.com/watch?v=QJzaE_XjX5c
> ><https://www.youtube.com/watch?v=QJzaE_XjX5c>
> >
> >
> >Added to the list of current vids.
> >
> >
> >
> >
> > Thanks!
> >
> > Belén
> >
> > >
> > >
> > >Let me know of any changes by using this email thread.
> > >
> > >
> > >Thanks,
> > >
> > >Scott
> > >
> > >
> > >On Mon, Oct 19, 2015 at 4:09 AM, Barros Pena, Belen
> > ><belen.barros.pena@intel.com
> > <mailto:belen.barros.pena@intel.com>> wrote:
> > >
> > >I have gone through the list of changes we put together for the
> > Toaster
> > >manual, and most of them are already there. There is only one thing
> > >pending: changing Chapter 3, the one about setting up and using
> > Toaster.
> > >
> > >The team has put together some new content for that section as a
> > starting
> > >point. It's here
> > >
> > >http://piratepad.nl/YzSI38RuYd
> > >
> > >Note that it includes also some changes for section 2.1 (at the
> > very top).
> > >
> > >There are 2 gaps in this new content:
> > >
> > >1. How to change the default location of the layers checkout
> > directory
> > >2. How to change the default location of the build directory
> > >
> > >Brian: do you think you could add the above missing information
> > to the
> > >pad, so that Scott can make the changes to the manual (if he has
> > time)?
> > >
> > >Thanks!
> > >
> > >Belén
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
[-- Attachment #2: Type: text/html, Size: 13437 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2015-10-23 15:04 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-19 11:09 Changes to the Toaster manual Barros Pena, Belen
2015-10-20 19:06 ` Scott Rifenbark
2015-10-21 9:44 ` Barros Pena, Belen
2015-10-21 12:54 ` Barros Pena, Belen
2015-10-21 15:55 ` Scott Rifenbark
2015-10-21 13:01 ` Barros Pena, Belen
2015-10-21 15:46 ` Scott Rifenbark
2015-10-21 16:50 ` Michael Wood
2015-10-21 17:57 ` Scott Rifenbark
2015-10-23 9:10 ` Barros Pena, Belen
2015-10-23 15:04 ` Scott Rifenbark
2015-10-21 16:09 ` Scott Rifenbark
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.