From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Makefile: do not purge locale-archive from target
Date: Sun, 22 Jun 2014 22:27:51 +0200 [thread overview]
Message-ID: <20140622222751.07fb50a7@free-electrons.com> (raw)
In-Reply-To: <1403083410-4278-1-git-send-email-neumann@teufel.de>
Dear Sven Neumann,
On Wed, 18 Jun 2014 11:23:30 +0200, Sven Neumann wrote:
> The rules to purge unwanted locales from the target also removed
> the locale-archive file from /usr/lib/locale which contains the
> locale definitions explicitly generated for the target.
>
> Signed-off-by: Sven Neumann <neumann@teufel.de>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 14fca2b..d7590ef 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -516,7 +516,7 @@ LOCALE_NOPURGE = $(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
>
> define TARGET_PURGE_LOCALES
> rm -f $(LOCALE_WHITELIST)
> - for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done
> + for i in $(LOCALE_NOPURGE) locale-archive; do echo $$i >> $(LOCALE_WHITELIST); done
Hum, right, but isn't 'locale-archive' an archive of many locales?
Shouldn't we get rid of the locales we don't want from this archive?
Which toolchain have you used to get a locale-archive file?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-06-22 20:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 9:23 [Buildroot] [PATCH] Makefile: do not purge locale-archive from target Sven Neumann
2014-06-22 20:27 ` Thomas Petazzoni [this message]
2014-06-24 12:01 ` Sven Neumann
2014-07-15 20:56 ` Thomas Petazzoni
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=20140622222751.07fb50a7@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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.