[oe-commits] Khem Raj : console-image.bb: Require console-base-image

git version control git at git.openembedded.org
Fri Sep 11 02:26:15 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d3fc551eb32ff334fcea7cfe20a6f76b20c65c21
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d3fc551eb32ff334fcea7cfe20a6f76b20c65c21

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Sep  8 20:43:46 2009 -0700

console-image.bb: Require console-base-image

* Get rid of code duplication.

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/images/console-image.bb |   20 +++-----------------
 1 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/recipes/images/console-image.bb b/recipes/images/console-image.bb
index 9707881..c3d3f17 100644
--- a/recipes/images/console-image.bb
+++ b/recipes/images/console-image.bb
@@ -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





More information about the Openembedded-commits mailing list