diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-13 11:40:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:44:33 +0100 |
commit | 65c8154f2169e6e901dd1e38d3cc893b019a8e11 (patch) | |
tree | 30a4beab6df2bd8b631638b608c0731d3427a24b /meta/classes/image.bbclass | |
parent | 20c8be711f3ffbc9f7916c9e101db19bb0281efb (diff) | |
download | poky-65c8154f2169e6e901dd1e38d3cc893b019a8e11.tar.gz |
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.
(From OE-Core rev: 8ffd93bdb09b0a4a84b27dafcd684c6abba392ed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index c3e73676dc..c0a2714288 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -22,7 +22,7 @@ POPULATE_SDK_POST_TARGET_COMMAND += "rootfs_sysroot_relativelinks; " | |||
22 | 22 | ||
23 | LICENSE ?= "MIT" | 23 | LICENSE ?= "MIT" |
24 | PACKAGES = "" | 24 | PACKAGES = "" |
25 | DEPENDS += "${@' '.join(["%s-qemuwrapper-cross" % m for m in d.getVar("MULTILIB_VARIANTS").split()])} qemuwrapper-cross depmodwrapper-cross" | 25 | DEPENDS += "${@' '.join(["%s-qemuwrapper-cross" % m for m in d.getVar("MULTILIB_VARIANTS").split()])} qemuwrapper-cross depmodwrapper-cross cross-localedef-native" |
26 | RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL}" | 26 | RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL}" |
27 | RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}" | 27 | RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}" |
28 | PATH_prepend = "${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:" | 28 | PATH_prepend = "${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:" |