summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-package.bbclass
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2006-10-04 14:02:07 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2006-10-04 14:02:07 +0000
commitf4f7920d6131d1245436783139e3a77581d6264f (patch)
treebc42d92b72a639fe40eec4b8e006da5b4087ebd1 /packages/glibc/glibc-package.bbclass
parent48eda25589839285b951e58728297ee83a3a2c4c (diff)
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).
Diffstat (limited to 'packages/glibc/glibc-package.bbclass')
-rw-r--r--packages/glibc/glibc-package.bbclass2
1 files changed, 1 insertions, 1 deletions
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: