5.19.1. Starting Toaster

Getting set up to use and start Toaster is simple. First, be sure you have met the following requirements:

Once you have met the requirements, follow these steps to start Toaster running in the background of your shell:

Note

The Toaster must be started and running in order for it to collect data.
  1. Set up your build environment: Source a build environment script (i.e. oe-init-build-env or oe-init-build-env-memres).

  2. 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"
                            
  3. 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: