aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-11-06 21:54:06 +0100
committerKhem Raj <raj.khem@gmail.com>2019-11-13 14:54:04 -0800
commit18d9e06a94c7e496cccedd09bf2db6dab9e54cff (patch)
treeee4e9df1baeef11177a9b329512a952c63e92856
parentbbba23ad288c83a603bf6960e510db50cf02dd5c (diff)
downloadmeta-openembedded-contrib-18d9e06a94c7e496cccedd09bf2db6dab9e54cff.tar.gz
Add gnome help packages to image according to IMAGE_LINGUAS
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-gnome/conf/layer.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-gnome/conf/layer.conf b/meta-gnome/conf/layer.conf
index 862d622ee0..d381fdf070 100644
--- a/meta-gnome/conf/layer.conf
+++ b/meta-gnome/conf/layer.conf
@@ -8,6 +8,9 @@ BBFILE_COLLECTIONS += "gnome-layer"
BBFILE_PATTERN_gnome-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_gnome-layer = "7"
+# auto-pack gnome help files
+IMAGE_LINGUAS_COMPLEMENTARY_append = " ${@bb.utils.contains('DISTRO_FEATURES','helpfiles','*-help-%s','',d)}"
+
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers
LAYERVERSION_gnome-layer = "1"