[oe] [PATCH] Add gnome help packages to image according to IMAGE_LINGUAS

Andreas Müller schnitzeltony at gmail.com
Tue Nov 5 23:41:42 UTC 2019


On Tue, Nov 5, 2019 at 8:53 PM Khem Raj <raj.khem at gmail.com> wrote:
>
> On Mon, Nov 4, 2019 at 11:41 PM Andreas Müller <schnitzeltony at gmail.com> wrote:
>>
>> In case
>>
>> * 'helpfiles' is in DISTRO_FEATURES and
>> * PACKAGE_NO_HELP_SPLIT is not set to '1'
>>
>> those help packages matching language selections in IMAGE_LINGUAS are added to
>> image automatically.
>>
>> For more details see:
>>
>> [1] https://github.com/openembedded/meta-openembedded/blob/master/meta-gnome/classes/gnome-help.bbclass
>> [2] https://github.com/openembedded/openembedded-core/commit/3a9e9585aeb67234901b2f842113dbe20c3801b3
>> ---
>>  meta-gnome/conf/layer.conf | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/meta-gnome/conf/layer.conf b/meta-gnome/conf/layer.conf
>> index 862d622ee..996f4f64a 100644
>> --- a/meta-gnome/conf/layer.conf
>> +++ b/meta-gnome/conf/layer.conf
>> @@ -8,6 +8,8 @@ BBFILE_COLLECTIONS += "gnome-layer"
>>  BBFILE_PATTERN_gnome-layer := "^${LAYERDIR}/"
>>  BBFILE_PRIORITY_gnome-layer = "7"
>>
>> +IMAGE_LINGUAS_COMPLEMENTARY_append = " *-help-%s"
>
>
> This should be dependent on distro feature and here it’s unconditional
V2 is under test

Andreas


More information about the Openembedded-devel mailing list