diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-05-13 02:17:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-14 15:02:25 +0300 |
commit | f9f1397d688cc4eb8d736066b1280bee40a8916a (patch) | |
tree | 6e85d999d6fe427cbaad4844d741e5ceb2b5c770 /meta/classes/image.bbclass | |
parent | 1bd6fa9c81dea90f66641835a4c2ed6f2b7a239a (diff) | |
download | openembedded-core-f9f1397d688cc4eb8d736066b1280bee40a8916a.tar.gz openembedded-core-f9f1397d688cc4eb8d736066b1280bee40a8916a.tar.bz2 openembedded-core-f9f1397d688cc4eb8d736066b1280bee40a8916a.zip |
image.bbclass: Add package-management image feature to validitems
Some images dont use core-image bbclass and add this feature directly
Fixes parsing errors like
/builds1/angstrom/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34734, PID:
24551 Parsing recipes...ERROR: Unable to parse
/builds1/angstrom/sources/meta-kde/recipes-images/angstrom-kde-desktop-imag
e.bb: Exited with "1" ERROR: 'package-management' in IMAGE_FEATURES is
not a
valid image feature. Valid features: dbg-pkgs debug-tweaks dev-pkgs
doc-pkgs ptest-pkgs read-only-rootfs splash staticdev-pkgs ERROR:
'package-management' in IMAGE_FEATURES is not a valid image feature.
Valid
features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs ptest-pkgs
read-only-rootfs splash staticdev-pkgs ERROR: Command execution failed:
Exited with 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 2b42e123ed..4f077082da 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -19,7 +19,7 @@ INHIBIT_DEFAULT_DEPS = "1" # IMAGE_FEATURES may contain any available package group IMAGE_FEATURES ?= "" IMAGE_FEATURES[type] = "list" -IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs" +IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs package-management" # rootfs bootstrap install ROOTFS_BOOTSTRAP_INSTALL = "${@base_contains("IMAGE_FEATURES", "package-management", "", "${ROOTFS_PKGMANAGE_BOOTSTRAP}",d)}" |