summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-07-09 17:27:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-29 10:16:14 +0100
commit98b0f956e7d16c2791cc00dbb75187b886e4cbcd (patch)
treed8933901b992835066667ed88178c09f5dc0eabb /meta/classes
parentfa5640d143beea4be101d6622d3fa133d04272f2 (diff)
downloadpoky-98b0f956e7d16c2791cc00dbb75187b886e4cbcd.tar.gz
classes/image: add staticdev-pkgs IMAGE_FEATURES feature
Add a staticdev-pkgs feature that can be added to IMAGE_FEATURES in order to install all staticdev packages. Fixes [YOCTO #2531]. (From OE-Core rev: 3ba9c0757eb51a0bb5873f4faae023587a33cc1d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 0f7744aa5e..72720f1ffd 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -35,7 +35,7 @@ NORMAL_FEATURE_INSTALL_OPTIONAL = "${@' '.join(oe.packagegroup.optional_packages
35 35
36def normal_groups(d): 36def normal_groups(d):
37 """Return all the IMAGE_FEATURES, with the exception of our special package groups""" 37 """Return all the IMAGE_FEATURES, with the exception of our special package groups"""
38 extras = set(['dev-pkgs', 'doc-pkgs', 'dbg-pkgs']) 38 extras = set(['dev-pkgs', 'staticdev-pkgs', 'doc-pkgs', 'dbg-pkgs'])
39 features = set(oe.data.typed_value('IMAGE_FEATURES', d)) 39 features = set(oe.data.typed_value('IMAGE_FEATURES', d))
40 return features.difference(extras) 40 return features.difference(extras)
41 41
@@ -47,6 +47,8 @@ def complementary_globs(featurevar, d):
47 for feature in features: 47 for feature in features:
48 if feature == 'dev-pkgs': 48 if feature == 'dev-pkgs':
49 globs.append('*-dev') 49 globs.append('*-dev')
50 elif feature == 'staticdev-pkgs':
51 globs.append('*-staticdev')
50 elif feature == 'doc-pkgs': 52 elif feature == 'doc-pkgs':
51 globs.append('*-doc') 53 globs.append('*-doc')
52 elif feature == 'dbg-pkgs': 54 elif feature == 'dbg-pkgs':