- Code: Select all
mkdir -p /angstrom/sources/local/recipes/images
Add new file for custom image
- Code: Select all
nano /angstrom/sources/local/recipes/images/minimal-osgi.bb
with the following content
- Code: Select all
require ${BBFILE_PATTERN_oe}/recipes/images/minimal-image.bb
IMAGE_INSTALL += "\
jamvm \
nano \
librxtx-jni \
mladen \
"
export IMAGE_BASENAME = "minimal-osgi"
By creating a custom image, a developer has total control over the contents of the image. It is important use the correct names of packages in the “IMAGE_INSTALL” variable. The names must be in the OpenEmbedded notation instead of Debian notation, for example "glibc-dev" instead of "libc6-dev" etc. Run building of image:
- Code: Select all
bitbake minimal-osgi
After building image file could be found here:
- Code: Select all
/angstrom/build/tmp-angstrom_2008_1/deploy/glibc/images/cs-e9302/Angstrom-minimal-osgi-glibc-ipk-2011.03-cs-e9302.rootfs.tar.bz2