uboot-config.bbclass: Fix use without IMAGE_FSTYPES appending
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 7 Oct 2013 15:15:16 +0000 (12:15 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Oct 2013 15:55:21 +0000 (16:55 +0100)
commit6a88b6966afc7b1e2c0d28c1cfc47212f426e5ab
tree39c9a17c1eee308713961e859dda658c29eeb412
parent71726e2c36a2fcd6b65fa3e5fbace08f424497ce
uboot-config.bbclass: Fix use without IMAGE_FSTYPES appending

Before checking if the image is a valid value, we need to check if the
list of items is big enough or we will raise an exception.

Reported-by: Lauren Post <lauren.post@freescale.com>
(From OE-Core rev: b833837cac377e7c1c3ff18531b152340b669329)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uboot-config.bbclass