Difference between revisions of "I want an image with package XYZ installed"
From Openembedded.org
PaulEggleton (talk | contribs) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | http:// | + | {{Outdated}} |
+ | |||
+ | '''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: | ||
+ | <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]] |
Latest revision as of 16:39, 3 November 2012
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