diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-10-16 11:02:59 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-10-16 11:02:59 +0000 |
| commit | 573776731208f6e1105495761240a6a0b0954997 (patch) | |
| tree | 18753ac5b0ddb32034fe25612b8032cbc7978206 | |
| parent | 1812814c30d1605d7fcfb9816ad6515715ad25ce (diff) | |
| download | poky-573776731208f6e1105495761240a6a0b0954997.tar.gz | |
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
| -rw-r--r-- | meta/packages/glibc/glibc-package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/glibc/glibc-package.bbclass b/meta/packages/glibc/glibc-package.bbclass index 51f5a80bec..6bc8d2a2af 100644 --- a/meta/packages/glibc/glibc-package.bbclass +++ b/meta/packages/glibc/glibc-package.bbclass | |||
| @@ -268,7 +268,7 @@ python package_do_split_gconvs () { | |||
| 268 | cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts) | 268 | cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, treedir, localedef_opts) |
| 269 | bb.note("generating locale %s (%s)" % (locale, encoding)) | 269 | bb.note("generating locale %s (%s)" % (locale, encoding)) |
| 270 | if os.system(cmd): | 270 | if os.system(cmd): |
| 271 | raise bb.build.FuncFailed("localedef returned an error.") | 271 | raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd) |
| 272 | 272 | ||
| 273 | def output_locale(name, locale, encoding): | 273 | def output_locale(name, locale, encoding): |
| 274 | use_bin = bb.data.getVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", d, 1) | 274 | use_bin = bb.data.getVar("GLIBC_INTERNAL_USE_BINARY_LOCALE", d, 1) |
