diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-03 00:19:38 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-08-03 21:17:01 +0200 |
commit | 284cb4fb2e663aee7ef7939e2e3eb328a6663fe2 (patch) | |
tree | d48b5052af67c0a0c77dad393d088ad543080acd | |
parent | 17fe69e5951382906e5ca9a71b179ba1e5851e09 (diff) |
toolchain: purge locales by default
Our current default is to keep all locales installed in
/usr/share/locale/. However, in practice, those locales take up a
significant amount of space, and most users do not need
locales. Therefore, it makes more sense to default to purging locales,
in order to keep only a few useful ones rather than keeping them all.
It helps in providing a small filesystem size by default, and still
allows advanced users who really need locales to tune their
configuration.
As an example, a very basic system with just util-linux enabled (not
even Busybox) weights 11 MB, including 6.4 MB of locales. With this new
default, the generated system is only 4.2 MB.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | toolchain/toolchain-common.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in index ff667c0b2..dae34ab59 100644 --- a/toolchain/toolchain-common.in +++ b/toolchain/toolchain-common.in @@ -44,6 +44,7 @@ config BR2_TOOLCHAIN_SUPPORTS_PIE config BR2_ENABLE_LOCALE_PURGE bool "Purge unwanted locales" + default y help Explicitly specify what locales to install on target. If N then all locales supported by packages are installed. |