From 93ee404049dcdda598b37f1fbbd04d7ab360e043 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 29 Aug 2012 17:03:20 +0200 Subject: [PATCH] Add recipe to build a console image containing linphone. --- build/openembedded/conf/layer.conf | 2 +- .../images/console-linphone-image.bb | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 build/openembedded/images/console-linphone-image.bb diff --git a/build/openembedded/conf/layer.conf b/build/openembedded/conf/layer.conf index 47c06dde6..be44bc282 100644 --- a/build/openembedded/conf/layer.conf +++ b/build/openembedded/conf/layer.conf @@ -2,7 +2,7 @@ BBPATH .= ":${LAYERDIR}" # We have a recipes directory, add to BBFILES -BBFILES += "${LAYERDIR}/*.bb ${LAYERDIR}/libgsm/*.bb" +BBFILES += "${LAYERDIR}/*.bb ${LAYERDIR}/libgsm/*.bb ${LAYERDIR}/images/*.bb" BBFILE_COLLECTIONS += "linphone-layer" BBFILE_PATTERN_linphone-layer := "^${LAYERDIR}/" diff --git a/build/openembedded/images/console-linphone-image.bb b/build/openembedded/images/console-linphone-image.bb new file mode 100644 index 000000000..4dd2b68aa --- /dev/null +++ b/build/openembedded/images/console-linphone-image.bb @@ -0,0 +1,16 @@ +require recipes-images/angstrom/console-image.bb + +IMAGE_INSTALL += " \ + kbd \ + kbd-keymaps \ + keymaps \ + linphonec \ +" + +rootfs_postprocess() { + gunzip -c ${IMAGE_ROOTFS}/usr/share/keymaps/i386/dvorak/dvorak.map.gz > ${IMAGE_ROOTFS}/etc/keymap-2.6.map +} + +ROOTFS_POSTPROCESS_COMMAND += "rootfs_postprocess; " + +export IMAGE_BASENAME = "console-linphone-image"