summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/packagegroup.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/packagegroup.py')
-rw-r--r--meta/lib/oe/packagegroup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/packagegroup.py b/meta/lib/oe/packagegroup.py
index 12eb4212ff..a6fee5f950 100644
--- a/meta/lib/oe/packagegroup.py
+++ b/meta/lib/oe/packagegroup.py
@@ -3,9 +3,9 @@ import itertools
3def is_optional(feature, d): 3def is_optional(feature, d):
4 packages = d.getVar("FEATURE_PACKAGES_%s" % feature, True) 4 packages = d.getVar("FEATURE_PACKAGES_%s" % feature, True)
5 if packages: 5 if packages:
6 return bool(d.getVarFlag("FEATURE_PACKAGES_%s" % feature, "optional")) 6 return bool(d.getVarFlag("FEATURE_PACKAGES_%s" % feature, "optional", True))
7 else: 7 else:
8 return bool(d.getVarFlag("PACKAGE_GROUP_%s" % feature, "optional")) 8 return bool(d.getVarFlag("PACKAGE_GROUP_%s" % feature, "optional", True))
9 9
10def packages(features, d): 10def packages(features, d):
11 for feature in features: 11 for feature in features: