summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/libc-package.bbclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 8859dad566..a66e540884 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -82,6 +82,9 @@ do_collect_bins_from_locale_tree() {
82 parent=$(dirname ${localedir}) 82 parent=$(dirname ${localedir})
83 mkdir -p ${PKGD}/$parent 83 mkdir -p ${PKGD}/$parent
84 tar -cf - -C $treedir/$parent -p $(basename ${localedir}) | tar -xf - -C ${PKGD}$parent 84 tar -cf - -C $treedir/$parent -p $(basename ${localedir}) | tar -xf - -C ${PKGD}$parent
85
86 # Finalize tree by chaning all duplicate files into hard links
87 cross-localedef-hardlink -c -v ${WORKDIR}/locale-tree
85} 88}
86 89
87inherit qemu 90inherit qemu
@@ -265,7 +268,7 @@ python package_do_split_gconvs () {
265 bb.error("locale_arch_options not found for target_arch=" + target_arch) 268 bb.error("locale_arch_options not found for target_arch=" + target_arch)
266 bb.fatal("unknown arch:" + target_arch + " for locale_arch_options") 269 bb.fatal("unknown arch:" + target_arch + " for locale_arch_options")
267 270
268 localedef_opts += " --force --no-archive --prefix=%s \ 271 localedef_opts += " --force --no-hard-links --no-archive --prefix=%s \
269 --inputfile=%s/%s/i18n/locales/%s --charmap=%s %s/%s" \ 272 --inputfile=%s/%s/i18n/locales/%s --charmap=%s %s/%s" \
270 % (treedir, treedir, datadir, locale, encoding, outputpath, name) 273 % (treedir, treedir, datadir, locale, encoding, outputpath, name)
271 274
@@ -273,7 +276,7 @@ python package_do_split_gconvs () {
273 (path, i18npath, gconvpath, localedef_opts) 276 (path, i18npath, gconvpath, localedef_opts)
274 else: # earlier slower qemu way 277 else: # earlier slower qemu way
275 qemu = qemu_target_binary(d) 278 qemu = qemu_target_binary(d)
276 localedef_opts = "--force --no-archive --prefix=%s \ 279 localedef_opts = "--force --no-hard-links --no-archive --prefix=%s \
277 --inputfile=%s/i18n/locales/%s --charmap=%s %s" \ 280 --inputfile=%s/i18n/locales/%s --charmap=%s %s" \
278 % (treedir, datadir, locale, encoding, name) 281 % (treedir, datadir, locale, encoding, name)
279 282