[OE-core] [PATCH 1/2] bitbake.conf: make localedir nonarch

Christopher Larson clarson at kergoth.com
Mon Jan 18 18:26:44 UTC 2016


On Mon, Jan 18, 2016 at 5:18 AM, Burton, Ross <ross.burton at intel.com> wrote:

> On 14 January 2016 at 20:47, Dan McGregor <danismostlikely at gmail.com>
> wrote:
>
>> -localedir = "${libdir}/locale"
>> +localedir = "${nonarch_libdir}/locale"
>>
>
> As was recently discovered, this variable isn't really used in many places:
>
> $ dpkg -c xz-locale-de_5.2.2-r0.1_corei7-64.ipk|grep mo
> -rw-r--r-- root/root     26533 2016-01-12 16:50
> ./usr/share/locale/de/LC_MESSAGES/xz.mo
>
> I'd suggest that localedir should be ${datadir}/locale, and then any
> explicit users of ${datadir}/locale/ replaced with ${localedir}.
>

Isn't the current localedir used for binary locales, whereas datadir/locale
is the location of the non-binary locale files? So we'd be changing the
meaning/semantics of the variable? Admittedly to a version which would be
used in more recipes, but I think we should make it clear that we're
changing its meaning in that way, if so.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160118/7a8e77c3/attachment-0002.html>


More information about the Openembedded-core mailing list