summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-10-16 23:23:40 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-10-16 23:23:40 +0000
commit8f03501fe2192d42acd0b667792f849215d4ff92 (patch)
tree0332e29d9f3155045fef33cd6419c38345280aac
parent699a2d081e2510de1ff873dbb99f9a7a8320f685 (diff)
glibc-package.bbclass: Make the localedef error more helpful
-rw-r--r--packages/glibc/glibc-package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass
index 162274b89f..fc527b292a 100644
--- a/packages/glibc/glibc-package.bbclass
+++ b/packages/glibc/glibc-package.bbclass
@@ -261,7 +261,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)