From f4f7920d6131d1245436783139e3a77581d6264f Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 4 Oct 2006 14:02:07 +0000 Subject: 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). --- packages/glibc/glibc-package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3