]> code.ossystems Code Review - openembedded-core.git/commit
gettext.bbclass: also search for files in target sysroot
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 25 Jul 2017 14:40:59 +0000 (16:40 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Aug 2017 08:24:02 +0000 (09:24 +0100)
commitebb706f9dafdbb7c4aa18e5595930bbc1a0497b1
tree00a1562ab92a6ac20bf8cfc48eaad339831f7343
parenta0f2d1389a7e76b64003fea391a0cd485ff5fe77
gettext.bbclass: also search for files in target sysroot

fwupd contains polkit policy files that it translates using polkit.its
and polkit.loc files that the next polkit release is going to
install (see https://github.com/hughsie/fwupd/issues/107).

In order to make that work with OE-core, the gettext tools must be
told to look also for files in the recipe-sysroot. Otherwise it only
uses the GETTEXTDATADIR set by the gettext-native tool wrappers, and
that only points to the files provided by gettext-native itself.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/gettext.bbclass