I want an image with package XYZ installed
Jump to navigation
Jump to search
NOTE: This page has been identified as having content that is significantly out-of-date, usually because it refers to OpenEmbedded-Classic - for new projects, you should use OpenEmbedded-Core.
See OpenEmbedded Wiki Update Project for more details. |
Q: How do I add package XYZ to an image I compile?
A:
- http://pokylinux.org/doc/poky-handbook.html#usingpoky-extend-customimage (Poky Handbook)
- http://bec-systems.com/site/177/the-correct-way-to-add-packages-to-an-openembedded-image (The correct way to add packages to an OpenEmbedded Image)
In brief
- check (OE_DIR)/recepies/image directory for the image recepies
- edit/create your new image recepie
For exampe create 'minimal-image-wiki.bb' receipie with the content:
require minimal-image.bb
IMAGE_INSTALL += "nano mtd-utils"
export IMAGE_BASENAME = "minimalist-wiki"
This image will consist of all program from 'minimal-image' plus 'nano' and 'mtd-utils'.
To build:
bitbake minimal-image-wiki