Getting set up to use and start Toaster is simple. First, be sure you have met the following requirements:
You have set up your
Source Directory
by cloning the upstream poky
repository.
See the
Yocto Project Release
item for information on how to set up the Source
Directory.
You have checked out the
dora-toaster
branch:
$ cd poky $ git checkout -b dora-toaster origin/dora-toaster
Be sure your build machine has Django version 1.4.5 installed.
Make sure that port 8000 and 8200 are free (i.e. they have no servers on them).
Once you have met the requirements, follow these steps to start Toaster running in the background of your shell:
Set up your build environment:
Source a build environment script (i.e.
oe-init-build-env
or
oe-init-build-env-memres
).
Prepare your local configuration file:
Toaster needs the Toaster class enabled
in Bitbake in order to record target image package
information.
You can enable it by adding the following line to your
conf/local.conf
file:
INHERIT += "toaster"
Toaster also needs Build History enabled in Bitbake in
order to record target image package information.
You can enable this by adding the following two lines
to your conf/local.conf
file:
INHERIT += "buildhistory" BUILDHISTORY_COMMIT = "1"
Start Toaster: Start the Toaster service using this command from within your build directory:
$ source toaster start
When Toaster starts, it creates some additional files in your Build Directory. Deleting these files will cause you to lose data or interrupt Toaster:
toaster.sqlite
:
Toaster's database file.
toaster_web.log
:
The log file of the web server.
toaster_ui.log
:
The log file of the user interface component.
toastermain.pid
:
The PID of the web server.
toasterui.pid
:
The PID of the DSI data bridge.
bitbake-cookerdaemon.log
:
The BitBake server's log file.