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"