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).
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: