summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/images/openmoko-image.bb13
-rw-r--r--packages/images/openmoko-minimal-image.bb21
2 files changed, 25 insertions, 9 deletions
diff --git a/packages/images/openmoko-image.bb b/packages/images/openmoko-image.bb
index 1e8b36318c..6600d8436c 100644
--- a/packages/images/openmoko-image.bb
+++ b/packages/images/openmoko-image.bb
@@ -2,11 +2,9 @@
# OpenMoko Image Recipe
#------------------------------------------------------
-IMAGE_LINGUAS = ""
+require openmoko-minimal-image.bb
-IMAGE_INSTALL = "\
- ${MACHINE_TASK_PROVIDER} \
- task-openmoko-linux \
+IMAGE_INSTALL += "\
task-openmoko-net \
task-openmoko-ui \
task-openmoko-base \
@@ -15,12 +13,9 @@ IMAGE_INSTALL = "\
task-openmoko-pim \
"
-DEPENDS = "\
- ${MACHINE_TASK_PROVIDER} \
+DEPENDS += "\
task-openmoko \
-"
-
+ "
inherit image
-ROOTFS_POSTPROCESS_COMMAND += 'date "+%m%d%H%M%Y" >${IMAGE_ROOTFS}/etc/timestamp'
diff --git a/packages/images/openmoko-minimal-image.bb b/packages/images/openmoko-minimal-image.bb
new file mode 100644
index 0000000000..15506c42e3
--- /dev/null
+++ b/packages/images/openmoko-minimal-image.bb
@@ -0,0 +1,21 @@
+#------------------------------------------------------
+# OpenMoko Minimal Image Recipe
+# other openmoko images should include this.
+# -----------------------------------------------------
+
+IMAGE_LINGUAS = ""
+
+IMAGE_INSTALL = "\
+ ${MACHINE_TASK_PROVIDER} \
+ task-openmoko-linux \
+ "
+
+DEPENDS = "\
+ ${MACHINE_TASK_PROVIDER} \
+ task-openmoko-linux \
+ "
+
+
+inherit image
+
+ROOTFS_POSTPROCESS_COMMAND += 'date "+%m%d%H%M%Y" >${IMAGE_ROOTFS}/etc/timestamp'