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

From Openembedded.org
Jump to: navigation, search
(brief description added from linked articles)
 
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?'''
  

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:


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