On Sun, Mar 4, 2012 at 12:40 AM, Andrea Adami <[email protected]> wrote: > Hi, > while testing some new kernels I found out a broken keymap. > After short research I could identify the cause in > recipes-bsp/keymaps/files/keymap.sh: > ... > KERNEL_MAJMIN=`uname -r | cut -d '.' -f 1,2` > if [ -e /etc/keymap-$KERNEL_MAJMIN.map ]; then > loadkeys /etc/keymap-$KERNEL_MAJMIN.map > fi > ... > > $ uname -r | cut -d '.' -f 1,2 > 3.2 > > > I realized we are still using some old keymap-2.6.map and this doesn't > match with KERNEL_MAJMIN. > Now, renaming the keymaps to 3.2 would be only a band-aid, 3.3 is coming. > > Maybe we should check for keymap-3.map, i.e. > > uname -r | cut -d '.' -f 1,1 > > or embed the machine name instead. > > Regards > > Andrea
Actually this all sounds remnant of linux 2.4 vs. 2.6 times. Probably today we can just set: ... if [ -e /etc/keymap.map ]; then ... and the BSP layers will have to rename the overrides only once. My 2 cents Andrea _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
