[oe] [meta-handheld][PATCH] keymaps: edit script to reuse 2.6 kernel keymaps
Martin Jansa
martin.jansa at gmail.com
Sun Mar 18 07:27:09 UTC 2012
On Sun, Mar 18, 2012 at 01:13:55AM +0100, Andrea Adami wrote:
> * The keymap.sh script installed by oe-core recipe has a check
> * for KERNEL_MAJMIN=`uname -r | cut -d '.' -f 1,2`
> * so the keymaps-2.6.map's are ignored when running 3.x kernels
> * Thus, we replace the suffix of the runtime kernel with "2.6" in the .bbappend.
> * Bump PR
Anyone interested in systemd support for keymaps?
Here is .bbappend and .service I'm using:
meta-smartphone/meta-shr/recipes-bsp/keymaps/
And it's also assuming keymaps-2.6.map file.
Cheers,
>
> Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
> ---
> recipes-bsp/keymaps/keymaps_1.0.bbappend | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/recipes-bsp/keymaps/keymaps_1.0.bbappend b/recipes-bsp/keymaps/keymaps_1.0.bbappend
> index d3310c1..039b30c 100644
> --- a/recipes-bsp/keymaps/keymaps_1.0.bbappend
> +++ b/recipes-bsp/keymaps/keymaps_1.0.bbappend
> @@ -1,4 +1,4 @@
> -PRINC = "1"
> +PRINC = "2"
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
>
> @@ -20,6 +20,11 @@ SRC_URI_append_jornada6xx = " file://keymap-uk-620-660.map \
> file://keymap-uk.map \
> "
>
> +# we still use keymap-2.6.map files
> +do_configure_append () {
> + sed -i -e 's/KERNEL_MAJMIN=.*$/KERNEL_MAJMIN="2.6"/' ${WORKDIR}/keymap.sh
> +}
> +
> do_install_append () {
> case ${MACHINE} in
> c7x0 | tosa | akita | spitz | collie | poodle | h2200 | h4000 | hx4700 | jornada6xx )
> --
> 1.7.3.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120318/445d04ed/attachment-0002.sig>
More information about the Openembedded-devel
mailing list