We should be running gio-querymodules whenever modules are installed/removed. gconf ships one, and glib ships a few.
Documenting progress so far: the resulting cache file is arch-independent but gio-querymodules actually loads the module in question (to query the extension point name). So doing this in natively in sysroot is probably not an option as all the module dependencies need to be built. So the postinstall for rootfs case could be something like: qemuwrapper -L ${D} ${D}${bindir}/gio-querymodules ${D}${libdir}/gio/modules/ Ross: There's 3 recipes in oe-core that need these postinst/rm scripts. should I use postinst_intercept for this? (My guess was that that is what's used to run a postinst only once during rootfs creation but I could be wrong...)
This is fixed since poky commit cef8bc9e80c. Verifying this would include checking that * ${libexecdir}/gio-querymodules is on image * ${libdir}/gio/modules/giomodule.cache has been created Should be done on Sato image (or something that has glib-networking or gconf on it).