classes/image: allow complementary package globs to be extended
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 3 May 2013 13:21:59 +0000 (14:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 May 2013 15:19:20 +0000 (16:19 +0100)
commit6178f05fd0d116b6f23a66d3daec2085b4f93511
tree67ac4dccc91c65accf2c71da130c3f9b9b130a33
parent31270b11d32d620705ebfb3f5239ff6784c347d7
classes/image: allow complementary package globs to be extended

Make it easy for the wildcard specifications for complementary package
features to be extended outside of image.bbclass. For example, to add a
new "foo-pkgs" item that could be added to IMAGE_FEATURES that would
cause *-foo packages to be installed for all packages currently in the
image, you can now use this line at the global level:

COMPLEMENTARY_GLOB[foo-pkgs] = "*-foo"

Implements [YOCTO #4228].

(From OE-Core rev: 4e39c1b9dbba1d2b07ffc2c6a1a252fc8f7680ee)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass