I want an image with package XYZ installed: Difference between revisions
Jump to navigation
Jump to search
m (fix pokylinuxdocu link) |
(brief description added from linked articles) |
||
| Line 3: | Line 3: | ||
A: | A: | ||
* http://pokylinux.org/doc/poky-handbook.html#usingpoky-extend-customimage | * http://pokylinux.org/doc/poky-handbook.html#usingpoky-extend-customimage (Poky Handbook) | ||
* http://bec-systems.com/ | * 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: | |||
<code> | |||
require minimal-image.bb | |||
IMAGE_INSTALL += "nano mtd-utils" | |||
export IMAGE_BASENAME = "minimalist-wiki" | |||
</code> | |||
This image will consist of all program from 'minimal-image' plus 'nano' and 'mtd-utils'. | |||
To build: | |||
<code>bitbake minimal-image-wiki</code> | |||
[[Category:FAQ]] | [[Category:FAQ]] | ||
Revision as of 20:07, 27 December 2011
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