]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: respect PACKAGE_NO_GCONV
authorKai Kang <kai.kang@windriver.com>
Wed, 5 Dec 2018 13:00:55 +0000 (08:00 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Dec 2018 22:30:15 +0000 (22:30 +0000)
commit85240094175a8ea726bfba19c00d4556a62862fc
tree4a9cb5c7e7d26bdf52c9b5ef67adfa4613b8b03d
parent39840ed10af559bbcc306b378baa4723921668f5
image.bbclass: respect PACKAGE_NO_GCONV

It installs locale-base-* packages according to var IMAGE_LINGUAS.
Packages locale-base-* are split in libc-package.bbclass if variable
PACKAGE_NO_GCONV is not set. When none of ditro features libc-charsets
libc-locales and libc-locale-code is set, PACKAGE_NO_GCONV is set. Then
no locale-base-* is created and fails to create image.

Clear IMAGE_LINGUAS in such situation.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass