i.MX Yocto Project: How do I add an existing package to an image?

Document created by Leonardo Sandoval Gonzalez Employee on Jun 12, 2013Last modified by Leonardo Sandoval Gonzalez Employee on Aug 8, 2013
Version 3Show Document
  • View in full screen mode

There are two ways:

1. BitBake. Append the package into the IMAGE_INSTALL variable. But


  • In case you want the package in every image,  add a line to your conf/local.conf file


IMAGE_INSTALL_append = " package"


          Make sure to include the space BEFORE the package name. You can add other packages, just place spaces in-between.

  • In case you want the package in a particular image, e.g. fsl-image-gui,, add it on meta-fsl-demos/recipes-fsl/images/fsl-image-gui.bb



    cpufrequtils \

    nano \

    packagegroup-fsl-gstreamer \

    packagegroup-fsl-tools-testapps \

    packagegroup-fsl-tools-benchmark \

    packagegroup-qt-in-use-demos \

    qt4-plugin-phonon-backend-gstreamer \

    qt4-demos \

    qt4-examples \

    fsl-gui-extrafiles \

    package \


2. Hob. Due to its graphical nature, adding more packages to a base image is easier than the bitbake way. Run the hob app under the build folder, select your machine and image, then edit the later (click on the Edit image button)


In case the package is not available, you need to create it. As a starting point take a look at this example. In case you consider is good enough to be present on the mainstream repos, send the patch to the meta-freescale mailing list.

12 people found this helpful