[oe-commits] org.oe.dev base-image: New image designed to be a basis upon which you can install any other desired functionality using task packages from feeds.

rwhitby commit openembedded-commits at lists.openembedded.org
Sun Dec 16 09:33:23 UTC 2007


base-image: New image designed to be a basis upon which you can install any other desired functionality using task packages from feeds.

Author: rwhitby at nslu2-linux.org
Branch: org.openembedded.dev
Revision: 12e7afc8ba07e14e6f4d6341b58f77d4156934e5
ViewMTN: http://monotone.openembedded.org/revision/info/12e7afc8ba07e14e6f4d6341b58f77d4156934e5
Files:
1
packages/images/base-image.bb
Diffs:

#
# mt diff -r1b96e689e33845c251e1db7e51f28be0d2d037f8 -r12e7afc8ba07e14e6f4d6341b58f77d4156934e5
#
# 
# 
# add_file "packages/images/base-image.bb"
#  content [09731092c03ca44a0d586b39f691e378d0ee352a]
# 
============================================================
--- packages/images/base-image.bb	09731092c03ca44a0d586b39f691e378d0ee352a
+++ packages/images/base-image.bb	09731092c03ca44a0d586b39f691e378d0ee352a
@@ -0,0 +1,54 @@
+# This image is intended to provide a basic configuration that allows
+# you to access a newly flashed device over the network or via the
+# native console, and use ipkg to install (from feeds accessible via
+# the network) any further features you require into internal flash
+# memory or onto attached storage.
+
+# It should be as small as possible, while still achieving that goal.
+
+# The rationale for naming it 'base-image' is that this image is the
+# base upon which you can install any other functionality you desire.
+
+# Key features are:
+
+# 1) Must be able to mount attached storage devices like SD cards, CF
+# cards, internal disks, external USB disks, etc.  Should support
+# various filesystem choices, but ext2 at a minimum.  The rationale
+# for this is that you need storage to be able to install significant
+# new functionality.
+
+# 2) Must be able to boot from internal flash, or directly from a
+# filesystem stored on the attached storage.  The rationale for this
+# is that you will want to boot from attached storage instead of
+# messing around with ipkg-link.
+
+# Although it is only fully tested with the Angstrom distro, this
+# image is intended to be distro-agnostic.
+
+DISTRO_SSH_DAEMON ?= "dropbear"
+DISTRO_PACKAGE_MANAGER ?= "ipkg ipkg-collateral"
+
+DEPENDS = "\
+	task-boot \
+	task-distro-base task-machine-base \
+	${DISTRO_SSH_DAEMON} \
+	${DISTRO_PACKAGE_MANAGER} \
+	task-base-usbhost task-base-ext2 \
+	"
+
+IMAGE_INSTALL_TASKS = "\
+	"
+
+IMAGE_INSTALL = "\
+	task-boot \
+	task-distro-base task-machine-base \
+	${DISTRO_SSH_DAEMON} \
+	${DISTRO_PACKAGE_MANAGER} \
+	task-base-usbhost task-base-ext2 \
+	${IMAGE_INSTALL_TASKS} \
+	"
+
+export IMAGE_BASENAME = "base-image"
+IMAGE_LINGUAS = ""
+
+inherit image






More information about the Openembedded-commits mailing list