From: Paul Sokolovsky Date: Wed, 4 Oct 2006 14:02:07 +0000 (+0000) Subject: glibc-package.bbclass: Add supersecret -r switch to qemu userspace emulator, X-Git-Tag: Release-2010-05/1~9453^2~615^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f7920d6131d1245436783139e3a77581d6264f;p=openembedded.git glibc-package.bbclass: Add supersecret -r switch to qemu userspace emulator, which allows to override kernel version report to guest apps (otherwise, host kernel version is used, which causes "Kernel too old" errors in glibc startup code in guess, if host kernel is older than 2.6.14-something). Tested with qemu 0.8.2 (and yes, I couldn't find -r switch in qemu doc, taken from a mail by Paul Brook, qemu co-maintainer). --- diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass index a15d8139d3..162274b89f 100644 --- a/packages/glibc/glibc-package.bbclass +++ b/packages/glibc/glibc-package.bbclass @@ -237,7 +237,7 @@ python package_do_split_gconvs () { def output_locale_binary(name, locale, encoding): target_arch = bb.data.getVar("TARGET_ARCH", d, 1) - qemu = "qemu-%s" % target_arch + qemu = "qemu-%s -r 2.6.16" % target_arch pkgname = 'locale-base-' + legitimize_package_name(name) m = re.match("(.*)\.(.*)", name) if m: