From: Gary Thomas <gary@mlbassoc.com>
To: "Kamble, Nitin A" <nitin.a.kamble@intel.com>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: eglibc configurability
Date: Mon, 07 Feb 2011 08:54:09 -0700 [thread overview]
Message-ID: <4D5015A1.3080702@mlbassoc.com> (raw)
In-Reply-To: <9DA5872FEF993D41B7173F58FCF6BE9412060A17@orsmsx504.amr.corp.intel.com>
On 02/07/2011 08:45 AM, Kamble, Nitin A wrote:
>> -----Original Message-----
>> From: poky-bounces@yoctoproject.org [mailto:poky-
>> bounces@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.
That variable does not seem to be used in the eglibc recipes,
only the older [deprecated] glibc. Or did I miss something?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2011-02-07 15:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 14:44 eglibc configurability Gary Thomas
2011-02-07 15:45 ` Kamble, Nitin A
2011-02-07 15:54 ` Gary Thomas [this message]
2011-02-07 16:06 ` Richard Purdie
2011-02-07 16:19 ` Gary Thomas
2011-02-07 16:29 ` Mark Hatle
2011-02-07 16:54 ` Gary Thomas
2011-02-07 16:57 ` Richard Purdie
2011-02-07 17:04 ` Mark Hatle
2011-02-07 17:57 ` Gary Thomas
2011-02-07 19:09 ` Mark Hatle
2011-02-07 16:55 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D5015A1.3080702@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=nitin.a.kamble@intel.com \
--cc=poky@lists.pokylinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.