Download OpenEmbedded User Manual

Transcript
Chapter 9. Reference
Prior to support for multiple device tables this would have required the creation of a titan specific device
table.
9.7.3. Image types
The type of filesystem images to create are specified via the IMAGE_FSTYPES variable. A full
description of the available image types, options of the images and details on creating new image types is
provided in the image types section.
9.7.4. Package feeds
"Package feed", or feed for short, is a term used by ipkg package manager, commonly used in embedded
systems, to name a package repository holding packages. Structurally, a feed is a directory - local, or on
HTTP of FTP server, - holding packages and package descriptor file, named Packages or Packages.gz if
compressed. Multiple feeds are supported.
OpenEmbedded has support to pre-configure feeds within generated images, so once image is installed
on a device, user can immediately install new software, without the need to manually edit config files.
There are several ways to pre-configure feed support, described below.
9.7.4.1. Method 1: Using existing feed
If you already have the feed(s) set up and available via specific URL, they can be added to the image
using FEED_URIS variable:
FEED_URIS = " \
base##http://oe.example.com/releases/${DISTRO_VERSION}/feed/base \
updates##http://oe.example.com/releases/${DISTRO_VERSION}/feed/updates"
FEED_URIS contains list of feed descriptors, separated by spaces, per OE conventions. Each descriptor
consists of feed name and feed URL, joined with "##". Feed name is an identifier used by ipkg to
distinguish among the feeds. It can be arbitrary, just useful to the users to understood which feed is used
for one or another action.
9.7.4.2. Method 2: Using OE deploy directory as a feed (development only)
OE internally maintains a feed-like collection of directories to create images from packages. This
package deployment directory however has structure internal to OE and subject to change without notice.
Thus, using it as feed directly is not recommended (distributions which ignored this recommendation are
known to have their feeds broken when OE upgraded its internal mechanisms).
109