[oe-commits] org.oe.oz354x glibc-package.bbclass: fix qemu -L parameter (bug #1756)
justinp commit
openembedded-commits at lists.openembedded.org
Sun Jan 7 05:01:53 UTC 2007
glibc-package.bbclass: fix qemu -L parameter (bug #1756)
Author: justinp at openembedded.org
Branch: org.openembedded.oz354x
Revision: e2968ef19e2e9bcfd098ed42ac0e05fce772f9ba
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e2968ef19e2e9bcfd098ed42ac0e05fce772f9ba
Files:
1
packages/glibc/glibc-package.bbclass
Diffs:
#
# mt diff -r83e1ef9b6f3c5ea0cab9b35c5b2283795a3b4162 -re2968ef19e2e9bcfd098ed42ac0e05fce772f9ba
#
#
#
# patch "packages/glibc/glibc-package.bbclass"
# from [f812dc7437b2dd9f5236f289cecbec1e730cf2bf]
# to [e079db15c73e766a83f95a27b1d6de0ee2de044d]
#
============================================================
--- packages/glibc/glibc-package.bbclass f812dc7437b2dd9f5236f289cecbec1e730cf2bf
+++ packages/glibc/glibc-package.bbclass e079db15c73e766a83f95a27b1d6de0ee2de044d
@@ -257,7 +257,7 @@ python package_do_split_gconvs () {
i18npath = os.path.join(treedir, datadir, "i18n")
localedef_opts = "--force --old-style --no-archive --prefix=%s --inputfile=%s/i18n/locales/%s --charmap=%s %s" % (treedir, datadir, locale, encoding, locale)
- cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts)
+ cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s/%s %s/bin/localedef %s" % (path, i18npath, qemu, bb.data.getVar("STAGING_DIR", d, 1), bb.data.getVar("TARGET_SYS", d, 1), treedir, localedef_opts)
bb.note("generating locale %s (%s)" % (locale, encoding))
if os.system(cmd):
raise bb.build.FuncFailed("localedef returned an error.")
More information about the Openembedded-commits
mailing list