diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-09-08 12:30:19 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-10 12:53:10 +0100 |
commit | b273ca2be051cab71bd07e11a1a4a5106e64f5ce (patch) | |
tree | 091badc468100880da612eebceccf6a480e8d9fa /meta | |
parent | b4c5b953c80c81f96a912afec9e65fa6faf8f769 (diff) | |
download | poky-b273ca2be051cab71bd07e11a1a4a5106e64f5ce.tar.gz |
libc-package.bbclass: fix qemu issue with pseudo
This solution is what Mark Hatle recommended.
To disable pseudo, while already running, you need to set:
PSEUDO_RELOADED=YES, and then exec something...
This causes pseudo to disable itself from LD_PRELOAD, and thus fall
out of memory on the exec.
This Fixes [BUGID #226]
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/libc-package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index c0e7176472..1c034e09be 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
@@ -266,7 +266,7 @@ python package_do_split_gconvs () { | |||
266 | if not qemu_options: | 266 | if not qemu_options: |
267 | qemu_options = bb.data.getVar('QEMU_OPTIONS', d, 1) | 267 | qemu_options = bb.data.getVar('QEMU_OPTIONS', d, 1) |
268 | 268 | ||
269 | cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s \ | 269 | cmd = "PSEUDO_RELOADED=YES PATH=\"%s\" I18NPATH=\"%s\" %s -L %s \ |
270 | -E LD_LIBRARY_PATH=%s %s %s/bin/localedef %s" % \ | 270 | -E LD_LIBRARY_PATH=%s %s %s/bin/localedef %s" % \ |
271 | (path, i18npath, qemu, treedir, ldlibdir, qemu_options, treedir, localedef_opts) | 271 | (path, i18npath, qemu, treedir, ldlibdir, qemu_options, treedir, localedef_opts) |
272 | bb.note("generating locale %s (%s)" % (locale, encoding)) | 272 | bb.note("generating locale %s (%s)" % (locale, encoding)) |