console-image.bb: Require console-base-image
authorKhem Raj <raj.khem@gmail.com>
Wed, 9 Sep 2009 03:43:46 +0000 (20:43 -0700)
committerKhem Raj <raj.khem@gmail.com>
Fri, 11 Sep 2009 02:26:08 +0000 (19:26 -0700)
* Get rid of code duplication.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/images/console-image.bb

index 9707881..c3d3f17 100644 (file)
@@ -1,24 +1,10 @@
 #Angstrom bootstrap image
+require console-base-image.bb
 
-IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
-
-ANGSTROM_EXTRA_INSTALL ?= ""
-
-SPLASH ?= ""
-ZZAPSPLASH = ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)}'
-
-DEPENDS = "task-base-extended \
-           ${SPLASH} \
-           ${ZZAPSPLASH} \
+DEPENDS += "task-base-extended \
           "
 
-IMAGE_INSTALL = "task-base-extended \
-           ${ANGSTROM_EXTRA_INSTALL} \
-           ${SPLASH} \
-           ${ZZAPSPLASH} \
+IMAGE_INSTALL += "task-base-extended \
            "
 
 export IMAGE_BASENAME = "console-image"
-IMAGE_LINGUAS = ""
-
-inherit image