[poky] eglibc configurability
Kamble, Nitin A
nitin.a.kamble at intel.com
Mon Feb 7 07:45:17 PST 2011
> -----Original Message-----
> From: poky-bounces at yoctoproject.org [mailto:poky-
> bounces at yoctoproject.org] On Behalf Of Gary Thomas
> Sent: Monday, February 07, 2011 6:44 AM
> To: Poky
> Subject: [poky] eglibc configurability
>
> I often run small (slow) embedded systems with only a ramdisk
> based file system. When I use Poky for this, one side effect
> is that some packages need to be "configured" on bootup, which
> in the case of a ramdisk based operation means every time.
>
> I notice that the eglibc package brings in a couple of these
> which are problematic (mostly in how long they take to run)
> Looking at meta/conf/distro/include/poky-eglibc.inc:
>
> LIBC_DEPENDENCIES = "libsegfault \
> eglibc \
> eglibc-dbg \
> eglibc-dev \
> eglibc-utils \
> eglibc-thread-db \
> eglibc-localedata-i18n \
> eglibc-gconv-ibm850 \
> eglibc-gconv-cp1252 \
> eglibc-gconv-iso8859-1 \
> eglibc-gconv-iso8859-15 \
> locale-base-en-us \
> locale-base-en-gb "
>
> On my OMAP-L138 target, configuring locale-base-* takes
> a long time, upwards of 35 seconds each.
>
> Are multiple locale-base packages really necessary?
> How could I best (in the Poky spirit) limit this? In the
> minimum, I'd like to only have one locale, saving at least
> 35 seconds of boot time.
>
> Ideas? Comments?
Gary,
Look at the LIMIT_BUILT_LOCALES variable in local.conf. I think that would give you what are you looking for. Also you can enable the mklibs optimizations for such images, which would save image size.
>
> Thanks
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list