From: Nicolas Ferre <[email protected]>

Create a derivative of console-image with more applications

+       usbview
+       mplayer
+       thttpd
+       madplay
+       alsa-utils-aplay
+       alsa-utils-amixer
+       iperf
+       dosfstools
+       mtd-utils

Signed-off-by: Ulf Samuelsson <[email protected]>
---
 recipes/images/console-at91sam9-image.bb |   34 ++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
 create mode 100644 recipes/images/console-at91sam9-image.bb

diff --git a/recipes/images/console-at91sam9-image.bb 
b/recipes/images/console-at91sam9-image.bb
new file mode 100644
index 0000000..7aae0fb
--- /dev/null
+++ b/recipes/images/console-at91sam9-image.bb
@@ -0,0 +1,34 @@
+#Angstrom bootstrap at91sam9 image
+
+IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
+
+ANGSTROM_EXTRA_INSTALL += " \
+       usbview \
+       mplayer \
+       thttpd \
+       madplay \
+       alsa-utils-aplay \
+       alsa-utils-amixer \
+       iperf \
+       dosfstools \
+       mtd-utils \
+#      nbench-byte \
+       "
+
+DEPENDS = "task-base-extended \
+           $...@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", 
"",d)} \
+          "
+
+IMAGE_INSTALL = "task-base-extended \
+           ${ANGSTROM_EXTRA_INSTALL} \
+           $...@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", 
"",d)} \
+          "
+
+export IMAGE_BASENAME = "console-at91sam9-image"
+IMAGE_LINGUAS = ""
+
+#we dont need the kernel in the image
+ROOTFS_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/*Image*; "
+
+inherit image
+
-- 
1.6.0.2


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to