mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
glibc-package.bbclass: Improve localedef failure error message
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@800 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -268,7 +268,7 @@ python package_do_split_gconvs () {
|
||||
cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts)
|
||||
bb.note("generating locale %s (%s)" % (locale, encoding))
|
||||
if os.system(cmd):
|
||||
raise bb.build.FuncFailed("localedef returned an error.")
|
||||
raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd)
|
||||
|
||||
def output_locale(name, locale, encoding):
|
||||
use_bin = bb.data.getVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", d, 1)
|
||||
|
||||
Reference in New Issue
Block a user