Add Greengrass to your image

If you already have a recipe to generate your own image, you can also integrate the Greengrass core without modifying it from your project configuration:

  1. Download Greengrass core software. See 1.1. Download the Greengrass core software.
  2. Add Greengrass core software package.
  3. To create an image with the Greengrass core, you must add the greengrass package to your image.

    Edit your project's conf/local.conf file and add this package to the list of packages to install:

    IMAGE_INSTALL_append = " greengrass"

    CAUTION! Note the white space after the quotes when adding packages to IMAGE_INSTALL_append.

  4. Generate the certificates for the Greengrass core software. See 1.2. Generate the certificates for the Greengrass core software.
  5. Configure the Greengrass core required parameters. See 1.3. Configure the Greengrass core required parameters.
  6. Build your firmware as usual.