]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc-package.bbclass: Improve localedef failure error message
authorRichard Purdie <richard@openedhand.com>
Mon, 16 Oct 2006 11:02:59 +0000 (11:02 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 16 Oct 2006 11:02:59 +0000 (11:02 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@800 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/glibc/glibc-package.bbclass

index 51f5a80bec9faa97647e71290f5f4670a0698e8c..6bc8d2a2af69e4c5a9cf94eafb11a96eefffc638 100644 (file)
@@ -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)