recipes/images/console-base-image.bb: factor out Angstrom-specific bits
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Wed, 17 Feb 2010 15:48:07 +0000 (16:48 +0100)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Wed, 17 Feb 2010 15:56:29 +0000 (16:56 +0100)
* factor out Angstrom-specific bits into a separate recipe
* I hope this should keep all participants in the ML-discussion happy
  http://thread.gmane.org/gmane.comp.handhelds.openembedded/29679
* the generic recipe now uses the IMAGE_EXTRA_INSTALL variable in favor
  of ANGSTROM_EXTRA_INSTALL to include additional packages in the image.

recipes/images/angstrom-console-base-image.bb [new file with mode: 0644]
recipes/images/console-base-image.bb

diff --git a/recipes/images/angstrom-console-base-image.bb b/recipes/images/angstrom-console-base-image.bb
new file mode 100644 (file)
index 0000000..2fdeecb
--- /dev/null
@@ -0,0 +1,10 @@
+require console-base-image.bb
+
+#Angstrom bootstrap image
+ANGSTROM_EXTRA_INSTALL ?= ""
+
+IMAGE_INSTALL = "task-base \
+           ${ANGSTROM_EXTRA_INSTALL} \
+           ${SPLASH} \
+           ${ZZAPSPLASH} \
+           "
index 9bd5031..2999d1c 100644 (file)
@@ -1,8 +1,11 @@
-#Angstrom bootstrap image
+# bootstrap image
+#
+# the Angstrom-specific bits that were originally part of this image
+# definition have been moved to angstrom-console-base-image.bb
 
 IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
 
-ANGSTROM_EXTRA_INSTALL ?= ""
+IMAGE_EXTRA_INSTALL ?= ""
 
 ZZAPSPLASH = ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)}'
 
@@ -12,7 +15,7 @@ DEPENDS = "task-base \
           "
 
 IMAGE_INSTALL = "task-base \
-           ${ANGSTROM_EXTRA_INSTALL} \
+           ${IMAGE_EXTRA_INSTALL} \
            ${SPLASH} \
            ${ZZAPSPLASH} \
            "