diff options
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 7529212ee8..51d16d7d55 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -32,9 +32,9 @@ FEATURE_INSTALL = "${@' '.join(oe.packagegroup.required_packages(oe.data.typed_v | |||
32 | FEATURE_INSTALL_OPTIONAL = "${@' '.join(oe.packagegroup.optional_packages(oe.data.typed_value('IMAGE_FEATURES', d), d))}" | 32 | FEATURE_INSTALL_OPTIONAL = "${@' '.join(oe.packagegroup.optional_packages(oe.data.typed_value('IMAGE_FEATURES', d), d))}" |
33 | 33 | ||
34 | # Define some very basic feature package groups | 34 | # Define some very basic feature package groups |
35 | PACKAGE_GROUP_package-management = "${ROOTFS_PKGMANAGE}" | 35 | FEATURE_PACKAGES_package-management = "${ROOTFS_PKGMANAGE}" |
36 | SPLASH ?= "psplash" | 36 | SPLASH ?= "psplash" |
37 | PACKAGE_GROUP_splash = "${SPLASH}" | 37 | FEATURE_PACKAGES_splash = "${SPLASH}" |
38 | 38 | ||
39 | IMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("IMAGE_FEATURES", d)}' | 39 | IMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("IMAGE_FEATURES", d)}' |
40 | 40 | ||
@@ -43,7 +43,10 @@ def check_image_features(d): | |||
43 | valid_features += d.getVarFlags('COMPLEMENTARY_GLOB').keys() | 43 | valid_features += d.getVarFlags('COMPLEMENTARY_GLOB').keys() |
44 | for var in d: | 44 | for var in d: |
45 | if var.startswith("PACKAGE_GROUP_"): | 45 | if var.startswith("PACKAGE_GROUP_"): |
46 | bb.warn("PACKAGE_GROUP is deprecated, please use FEATURE_PACKAGES instead") | ||
46 | valid_features.append(var[14:]) | 47 | valid_features.append(var[14:]) |
48 | elif var.startswith("FEATURE_PACKAGES_"): | ||
49 | valid_features.append(var[17:]) | ||
47 | valid_features.sort() | 50 | valid_features.sort() |
48 | 51 | ||
49 | features = set(oe.data.typed_value('IMAGE_FEATURES', d)) | 52 | features = set(oe.data.typed_value('IMAGE_FEATURES', d)) |