[meego-packaging] File inclusion depending on image type

Arjan van de Ven arjan at linux.intel.com
Thu Apr 21 06:42:27 PDT 2011


On 4/20/2011 9:36 PM, Luis Araujo wrote:
> Hello everyone,
>
> We need to offer a custom version of the virtual keyboard CSS style 
> file for the N900 images (and probably later on for other platforms too).
>
> So far I can only think of the %ifarch macro to test for armv7l, and 
> include the proper file depending on the result; but evidently, this 
> might be a little bit extreme and will overwrite any platform/image 
> using this architecture.
>
> What would be a best and more accurate solution?

use boardname ...

eg have

/etc/foo/bar/keymap.<boardname>

which in the virtual keyboard app should be tried before the generic 
keymap file



More information about the MeeGo-packaging mailing list