Hob: Use inherit information to judge if a recipe is image type
authorDongxiao Xu <dongxiao.xu@intel.com>
Wed, 21 Mar 2012 08:27:25 +0000 (16:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Mar 2012 14:40:40 +0000 (14:40 +0000)
commitcd1187f76e00dd20542b8b69c0ce3fcdcd6143e0
treedcaa7232bb74ab303f468dda318179a257ce67ce
parentf22db25b029747df69dc49adc52cdd0de3c39338
Hob: Use inherit information to judge if a recipe is image type

Previously we use pattern "-image-" to match recipe name to judge if
it is image type. This will ignore some images whose name doesn't
match the pattern. The new method is to use the inherit information,
that is, if a recipe inherits image.bbclass, we treat it as an image.

(From Poky rev: 981b81bd39529d2ba9af0d4e2a25bda3d32bd8fc)

(Bitbake rev: bdbee0c899e115ad08b9a77d3e58d6767766da75)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/hoblistmodel.py