openmoko-minimal-image: add this package to be the base of all openmoko
authorJohn Lee <john_lee@openmoko.org>
Wed, 5 Mar 2008 10:15:57 +0000 (10:15 +0000)
committerJohn Lee <john_lee@openmoko.org>
Wed, 5 Mar 2008 10:15:57 +0000 (10:15 +0000)
                        images.
* update openmoko-image to require it.
* update openmoko-qtopia-image to require it.

packages/images/openmoko-image.bb
packages/images/openmoko-minimal-image.bb [new file with mode: 0644]
packages/images/openmoko-qtopia-image.bb

index 1e8b363..9dd8496 100644 (file)
@@ -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,6 @@ 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 (file)
index 0000000..15506c4
--- /dev/null
@@ -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'
index ab88262..351e17e 100644 (file)
@@ -1,26 +1,22 @@
 #------------------------------------------------------
-# OpenMoko Image Recipe
+# OpenMoko Qtopia Image Recipe
 #------------------------------------------------------
 
+require openmoko-minimal-image.bb
+
 export IMAGE_BASENAME = "${PN}"
-export IMAGE_LINGUAS = ""
 
-IMAGE_INSTALL = "\
-  ${MACHINE_TASK_PROVIDER} \
-  task-openmoko-linux \
+IMAGE_INSTALL += "\
   alsa-state \
   bluez-hcidump \
   bluez-utils \
   task-openmoko-qtopia \
 "
-DEPENDS = "\
-  ${MACHINE_TASK_PROVIDER} \
+
+DEPENDS += "\
   task-openmoko-qtopia \
 "
 
 RDEPENDS = "${PACKAGE_INSTALL}"
 
-inherit image
-
 LICENSE = MIT
-