<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 8, 2014 at 1:58 PM, Ross Burton <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Martin Jansa <<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>><br>
<br>
* in some cases (e.g. with external toolchain which doesn't respect our<br>
reasonably old version set in OLDEST_KERNEL) it's possible to have libc<br>
which requires newer kernel than what we have on builders, qemu supports<br>
-r param to use different uname than what's returned by host system.<br>
* change qemu_run_binary to pass -r ${OLDEST_KERNEL} and add the same to<br>
QEMU_OPTIONS which are used by qemuwrapper-cross<br>
* maybe we should eventually convert all qemu_run_binary usages always include<br>
qemuwrapper-cross dependency and always call qemu through that (it<br>
seems very strange that qemu_target_binary is called from qemuwrapper<br>
and for allarch recipes it can return qemu-allarch as qemu binary).<br>
<br>
qemu_run_binary is used by:<br>
meta/classes/gtk-immodules-cache.bbclass: ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-$maj_ver.0')} \<br>
meta/classes/qemu.bbclass:def qemu_run_binary(data, rootfs_path, binary):<br>
meta/recipes-core/systemd/<a href="http://systemd_213.bb" target="_blank">systemd_213.bb</a>: ${@qemu_run_binary(d, '$D', '${base_bindir}/udevadm')} hwdb --update \<br>
meta/recipes-graphics/pango/pango.inc: ${@qemu_run_binary(d, '$D','${bindir}/${MLPREFIX}pango-querymodules')} \<br>
<br>
and qemuwrapper directly by:<br>
scripts/postinst-intercepts/update_font_cache:PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\<br>
scripts/postinst-intercepts/update_pixbuf_cache:PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\<br>
<br></blockquote></div>Somehow related but I don't understand fully yet:<br><br></div><div class="gmail_extra">do_rootfs complains:<br>NOTE: > Executing update_pixbuf_cache intercept ...<br>FATAL: kernel too old<br>WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 127)! See log for details!<br><br></div><div class="gmail_extra">and many other 'kernel too old' messages. Target kernel is 3.14.19 / Host is 3.14.17. Too old?<br><br></div><div class="gmail_extra">Andreas<br></div></div>