summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-13 11:40:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-15 09:44:33 +0100
commit65c8154f2169e6e901dd1e38d3cc893b019a8e11 (patch)
tree30a4beab6df2bd8b631638b608c0731d3427a24b /meta/classes
parent20c8be711f3ffbc9f7916c9e101db19bb0281efb (diff)
downloadpoky-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')
-rw-r--r--meta/classes/image.bbclass2
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
23LICENSE ?= "MIT" 23LICENSE ?= "MIT"
24PACKAGES = "" 24PACKAGES = ""
25DEPENDS += "${@' '.join(["%s-qemuwrapper-cross" % m for m in d.getVar("MULTILIB_VARIANTS").split()])} qemuwrapper-cross depmodwrapper-cross" 25DEPENDS += "${@' '.join(["%s-qemuwrapper-cross" % m for m in d.getVar("MULTILIB_VARIANTS").split()])} qemuwrapper-cross depmodwrapper-cross cross-localedef-native"
26RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL}" 26RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL}"
27RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}" 27RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}"
28PATH_prepend = "${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:" 28PATH_prepend = "${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:"