diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-16 09:42:22 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-16 09:42:22 +0000 |
commit | c5698bd7ebb4642bd00676faa48a9226b7a08d94 (patch) | |
tree | 5fc9b71f91ddfbadca4f32d00f80dc0d002515e0 /packages | |
parent | 1c3efeb25ec72bf688863618c0c004c80492c99a (diff) | |
parent | a4f70f11e2e1ac7c9396289b6324447027778bc1 (diff) |
merge of 'cf8866589186429f04cb84d5aa2437a100e6dcb9'
and 'e52ae81072be7ee799a55832f18200f23bff5339'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/base-files/base-files/fic-gta01/fstab | 2 | ||||
-rw-r--r-- | packages/base-files/base-files/fic-gta02/fstab | 2 | ||||
-rw-r--r-- | packages/images/base-image.bb | 76 | ||||
-rw-r--r-- | packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb | 2 |
4 files changed, 77 insertions, 5 deletions
diff --git a/packages/base-files/base-files/fic-gta01/fstab b/packages/base-files/base-files/fic-gta01/fstab index 4a0cc7750d..e5acb6a1eb 100644 --- a/packages/base-files/base-files/fic-gta01/fstab +++ b/packages/base-files/base-files/fic-gta01/fstab @@ -6,10 +6,8 @@ proc /proc proc defaults 0 0 # usb? # Temporary -tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/volatile tmpfs mode=0755 0 0 tmpfs /dev/shm tmpfs mode=0777 0 0 -tmpfs /media/ram tmpfs defaults 0 0 # microSD slot /dev/mmcblk0p1 /media/card auto defaults,async,noauto 0 0 diff --git a/packages/base-files/base-files/fic-gta02/fstab b/packages/base-files/base-files/fic-gta02/fstab index 4a0cc7750d..e5acb6a1eb 100644 --- a/packages/base-files/base-files/fic-gta02/fstab +++ b/packages/base-files/base-files/fic-gta02/fstab @@ -6,10 +6,8 @@ proc /proc proc defaults 0 0 # usb? # Temporary -tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/volatile tmpfs mode=0755 0 0 tmpfs /dev/shm tmpfs mode=0777 0 0 -tmpfs /media/ram tmpfs defaults 0 0 # microSD slot /dev/mmcblk0p1 /media/card auto defaults,async,noauto 0 0 diff --git a/packages/images/base-image.bb b/packages/images/base-image.bb new file mode 100644 index 0000000000..20a5fd9445 --- /dev/null +++ b/packages/images/base-image.bb @@ -0,0 +1,76 @@ +# 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. + +# See the end of this file for further rationale and policy regarding +# the contents of this image, and the criteria which are used to make +# decisions about adding and removing packages from this image. + +# 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 = "\ + task-boot \ + task-distro-base task-machine-base \ + ${DISTRO_SSH_DAEMON} \ + ${DISTRO_PACKAGE_MANAGER} \ + task-base-usbhost task-base-ext2 \ + " + +export IMAGE_BASENAME = "base-image" +IMAGE_LINGUAS = "" + +inherit image + +# Key features of this image 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. + +# Rationale and policy: + +# 'base-image' is the smallest possible image which allows you to ssh +# into a device via it's native network interface, and install +# packages from feeds across the network into internal flash or onto +# an attached storage device. + +# It is "larger" than minimal-image (which is strictly only that which +# is required to boot and get ssh access to the device, and nothing +# else), but is "smaller" than console-image (which has a whole lot of +# stuff in it which could easily be ipkg installed after boot rather +# than being in the initial rootfs). + +# It is required to always be small enough to fit in the internal +# flash rootfs partition of an NSLU2 (as an example of the smaller end +# of flash sizes that OE supports), and features will be removed from +# the image to ensure that this is always the case. Any feature that +# can be installed over the network using the package manager after +# the first boot is always fair game for removal at any time, and +# patches are welcome to make base-image as small as possible while +# still retaining the ability to subsequently install that feature. diff --git a/packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb b/packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb index b96cf8fa74..1526cbab55 100644 --- a/packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb +++ b/packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb @@ -4,7 +4,7 @@ PACKAGE_ARCH = "all" SRC_URI = "svn://svn.openmoko.org/developers/john_lee;module=toolkit;proto=http" SRC_URI += "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/applications;module=openmoko-sample2;proto=http" -SRCREV="3563" +SRCREV="3630" FILES_${PN} = "/" do_install () { |