]> code.ossystems Code Review - openembedded-core.git/commit
image: Add locale archive optimisation
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Aug 2018 11:40:03 +0000 (11:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2018 08:33:53 +0000 (09:33 +0100)
commit8ffd93bdb09b0a4a84b27dafcd684c6abba392ed
tree9f0282ee684abb7505a3bed988608873e445b0d2
parent0a4e6974b49bf68c4a4098d339b5d655e202a3fd
image: Add locale archive optimisation

Refactor the locale archive function from the SDK to also make it work during
general image creation. This reduces the size of the locales from 900MB to 220MB
in core-image-lsb-sdk.

The exception handling around subprocess was dropped as the standard subprocess
exception printing is better handled than the catchall exception.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/lib/oe/package_manager.py
meta/lib/oe/sdk.py