bitbake: hob2: remove the hard-coded images map
authorKang Kai <kai.kang@windriver.com>
Tue, 28 Aug 2012 02:47:19 +0000 (10:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Sep 2012 11:10:40 +0000 (12:10 +0100)
commitd489da55ddce4a70f8946f5b0592d08ed14cf581
treeb3f0e896ad3f3b5cbca30243104450ab5931535a
parent621ffe58152dc2770e374d78556af50754f0af1c
bitbake: hob2: remove the hard-coded images map

[Yocto #2795]

When a new image type added, the hob will crash because the new type is
not in the hard-coded image dictionary.

For most of the image types, they are same with the image file's
extension name. So use variable "IMAGE_EXTENSION_difftype" to map the
image type which is diff with the image file extension name, such as
type "live". And the variable(s) will be set in image_types.bbclass.

(Bitbake rev: e7c84f056af9c613920d5adcd078a011e0387193)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/builder.py
bitbake/lib/bb/ui/crumbs/hig.py