From 28af227d368a4bbd53a5f2ebbc580d5d3d15e441 Mon Sep 17 00:00:00 2001 From: Willer Moreira Date: Tue, 2 Feb 2010 16:31:44 -0400 Subject: [PATCH 105/118] mamona-image-*: creating mamona images Signed-off-by: Ricardo Salveti de Araujo Signed-off-by: Willer Moreira Signed-off-by: Francisco Alecrim --- recipes/images/mamona-image-console.bb | 14 +++++++++ recipes/images/mamona-image-e-wm.bb | 14 +++++++++ recipes/images/mamona-image-qt-wm.bb | 14 +++++++++ recipes/images/mamona-image-sdk.bb | 13 +++++++++ recipes/images/mamona-image.inc | 47 ++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+), 0 deletions(-) create mode 100644 recipes/images/mamona-image-console.bb create mode 100644 recipes/images/mamona-image-e-wm.bb create mode 100644 recipes/images/mamona-image-qt-wm.bb create mode 100644 recipes/images/mamona-image-sdk.bb create mode 100644 recipes/images/mamona-image.inc diff --git a/recipes/images/mamona-image-console.bb b/recipes/images/mamona-image-console.bb new file mode 100644 index 0000000..d8500ff --- /dev/null +++ b/recipes/images/mamona-image-console.bb @@ -0,0 +1,14 @@ +#------------------------------------------------------ +# Mamona Console Image Recipe +#------------------------------------------------------ + +require mamona-image.inc + +## +# e-wm packages for Mamona +## + +IMAGE_INSTALL += "\ + usbnet \ + dropbear \ +" diff --git a/recipes/images/mamona-image-e-wm.bb b/recipes/images/mamona-image-e-wm.bb new file mode 100644 index 0000000..06ef482 --- /dev/null +++ b/recipes/images/mamona-image-e-wm.bb @@ -0,0 +1,14 @@ +#------------------------------------------------------ +# Mamona Enlightenment Image Recipe +#------------------------------------------------------ + +require mamona-image.inc + +## +# e-wm packages for Mamona +## + +IMAGE_INSTALL += "\ + task-mamona-x11 \ + task-mamona-e-wm \ +" diff --git a/recipes/images/mamona-image-qt-wm.bb b/recipes/images/mamona-image-qt-wm.bb new file mode 100644 index 0000000..ff6ee0d --- /dev/null +++ b/recipes/images/mamona-image-qt-wm.bb @@ -0,0 +1,14 @@ +#------------------------------------------------------ +# Mamona Enlightenment Image Recipe +#------------------------------------------------------ + +require mamona-image.inc + +## +# e-wm packages for Mamona +## + +IMAGE_INSTALL += "\ + task-mamona-x11 \ + task-mamona-qt-wm \ +" diff --git a/recipes/images/mamona-image-sdk.bb b/recipes/images/mamona-image-sdk.bb new file mode 100644 index 0000000..6af614c --- /dev/null +++ b/recipes/images/mamona-image-sdk.bb @@ -0,0 +1,13 @@ +#------------------------------------------------------ +# Mamona Basic SDK +#------------------------------------------------------ + +require mamona-image.inc + +## +# Basic SDK for Mamona +## + +IMAGE_INSTALL += "\ + task-mamona-sdk \ +" diff --git a/recipes/images/mamona-image.inc b/recipes/images/mamona-image.inc new file mode 100644 index 0000000..297e124 --- /dev/null +++ b/recipes/images/mamona-image.inc @@ -0,0 +1,47 @@ +#------------------------------------------------------ +# Mamona Image Recipe Common Definitions +#------------------------------------------------------ + +## +# Image Definitions +## + +IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" +IMAGE_LINGUAS = "en-us" +IMAGE_FSTYPES += "tar.bz2" + +## +# Packages +## + +BASE_INSTALL = "\ + task-mamona \ +" + +IMAGE_INSTALL = "\ + ${BASE_INSTALL} \ +" + +inherit image + +export IMAGE_BASENAME = "${PN}" + +mamona_rootfs_postprocess() { + curdir=$PWD + cd ${IMAGE_ROOTFS} + + # dns + echo "nameserver 208.67.222.222" >./etc/resolv.conf + echo "nameserver 208.67.220.220" >>./etc/resolv.conf + + # profile + echo "# set your locale here:" >> ./etc/profile + echo "export LANG=en_US.UTF-8" >> ./etc/profile + + # dummy repo ftm + echo "deb http://10.0.1.11/repositories/mamona/${MACHINE} mamona main" >> ./etc/apt/sources.list + + cd $curdir +} + +ROOTFS_POSTPROCESS_COMMAND += "mamona_rootfs_postprocess" -- 1.6.3.3