Re: [poky] Re: Devshell working?

From: Matt Hoosier <matt.hoosier@gmail.com>
Date: Wed Jul 18 2007 - 18:01:36 EDT

> This is something that needs work. The problem is that there is no easy
> way to setup the package depends/recommends to make this work properly.
> Properly would mean that:
>
> 1. Once you selected the locale(s) you want the corresponding locale
> packages for any package installed in the image would be installed.
>
> 2. If you subsequently add package foo to an image via "ipkg install",
> it would add the corresponding foo locale packages.
>
> but this simply isn't possible with standard debian tools like dpkg and
> apt.
>
> Implementing 1 in the build system is straightforward, you'd just need
> to have poky look through the IMAGE_LINGUAS variables and install any
> matching packages that are already installed in the image.
>
> There are other ways you could do this such as setting up the foo-locale
> package to Recommends: the appropriate foo-locale-xyz packages as set by
> the IMAGE_LINGUAS variable. The problem with this approach is that if
> you change the locale, you have to rebuild the packages.
>
> I guess you could script 2 inside an image too as an option to run after
> any "ipkg install" operation too...
>

Hmm, okay. Would it be a difficult hack to alter some build class to
always bundle every locale physically into the runtime libs (or -data,
which the runtime lib would name as a hard dependency) package?
Realistically, I'd end up installing all those files piecemeal anyway.

-- 
To unsubscribe send a mail to poky+unsubscribe@o-hand.com
Received on Wed, 18 Jul 2007 17:01:36 -0500

This archive was generated by hypermail 2.1.8 : Wed Jul 18 2007 - 19:00:05 EDT