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>
This commit is contained in:
Nitin A Kamble 2010-09-08 12:30:19 -07:00 committed by Richard Purdie
parent b4c5b953c8
commit b273ca2be0
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ python package_do_split_gconvs () {
if not qemu_options:
qemu_options = bb.data.getVar('QEMU_OPTIONS', d, 1)
cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s \
cmd = "PSEUDO_RELOADED=YES PATH=\"%s\" I18NPATH=\"%s\" %s -L %s \
-E LD_LIBRARY_PATH=%s %s %s/bin/localedef %s" % \
(path, i18npath, qemu, treedir, ldlibdir, qemu_options, treedir, localedef_opts)
bb.note("generating locale %s (%s)" % (locale, encoding))