[oe] image.bbclass adding unconditionally glibc-localedata

Andrea Adami andrea.adami at gmail.com
Sat Nov 6 23:14:51 UTC 2010


Since commit 4271024e26551da70e710cef6d2dcbfa8740b007 my initramfs
image inflates.
No need for /usr/share/i18n/locales/*

I don't see an easy way to avoid that after inheriting image.bbclass
thus a quick hack:

...
inherit image

# brute force override to avoid i18n stuff from image.bbclass
PACKAGE_INSTALL = "${IMAGE_INSTALL}
LINGUAS_INSTALL = ""
LINGUAS_INSTALL_linux = ""
LINGUAS_INSTALL_linux-gnueabi = ""

EOF

IMHO image.bbclass should allow empty locales.
Besides, why fixing it to glibc-localedata?

Regards

Andrea




More information about the Openembedded-devel mailing list