]> code.ossystems Code Review - openembedded-core.git/commit
image_types: Fix ubi images creation
authorDenis Carikli <denis@eukrea.com>
Mon, 5 Sep 2011 19:34:34 +0000 (20:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Sep 2011 19:36:08 +0000 (20:36 +0100)
commit534dcaba0517ebfb6e48b6b436960a74e642a556
treee89824bfc80f35fa2c5a3c8d7f4b76e5643b64cd
parenta160f4dd48b91c5e6f8c290c7572e29a39a3e693
image_types: Fix ubi images creation

Without that commit ubinize.cfg lack a volume name value,
  and the related ubinize.cfg line looks like that:
    vol_name=
  which result in a broken ubi image,which after beeing flashed produce
  the following error:
    UBI error: vtbl_check: volume table check failed: record 0, error 11
  wich result in a kernel panic because the rootfs can't be mounted.

[RP: Moved from bitbake.conf to the .bbclass file]
Signed-off-by: Denis Carikli <denis@eukrea.com>
Acked-by: Anders Darander <anders@chargestorm.se>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass