Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!

Difference between revisions of "I want an image with package XYZ installed"

From Openembedded.org
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Outdated}}
 +
 
'''Q: How do I add package XYZ to an image I compile?'''
 
'''Q: How do I add package XYZ to an image I compile?'''
  
 
A:
 
A:
  
* http://www.pokylinux.org/releases/pinky-3.1/doc/poky-handbook.html#usingpoky-extend-customimage
+
* http://pokylinux.org/doc/poky-handbook.html#usingpoky-extend-customimage (Poky Handbook)
* http://bec-systems.com/web/content/view/79/9/
+
* 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:


[edit] 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

Personal tools
Namespaces

Variants
Actions
Navigation
Categories
OE services
Toolbox