aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-09-08 12:30:19 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-10 12:53:10 +0100
commitb273ca2be051cab71bd07e11a1a4a5106e64f5ce (patch)
tree091badc468100880da612eebceccf6a480e8d9fa /meta
parentb4c5b953c80c81f96a912afec9e65fa6faf8f769 (diff)
downloadopenembedded-core-contrib-b273ca2be051cab71bd07e11a1a4a5106e64f5ce.tar.gz
openembedded-core-contrib-b273ca2be051cab71bd07e11a1a4a5106e64f5ce.tar.bz2
openembedded-core-contrib-b273ca2be051cab71bd07e11a1a4a5106e64f5ce.zip
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.bbclass2
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 () {
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))